package api
- Alphabetic
- Public
- Protected
Type Members
- trait ActorBroker extends BotBase[Future]
Provides bare-bones harness for actors.
Provides bare-bones harness for actors. Redirects all Updates to a broker actor.
- trait AkkaDefaults extends AkkaImplicits
- trait AkkaImplicits extends AnyRef
- trait AkkaTelegramBot extends TelegramBot with AkkaDefaults
- trait GameManager extends WebRoutes
Provides basic endpoints to manage game's scoring.
Provides basic endpoints to manage game's scoring. setScore getScore
Game data is shared with the game, base64-encoded in the URL. This offer NO security at all, all data is passed au-clair. Altering the scores is trivial.
The "secure" implementations I've seen so far are based on security though obscurity, all of them can be reverse-engineered to alter the scores.
If you happen to have an idea of how to make it secure, please open an issue, or even better, submit a PR with your approach.
- case class Payload(user: User, chatId: Option[ChatId] = None, messageId: Option[Int] = None, inlineMessageId: Option[String] = None, gameManagerHost: String, gameShortName: String) extends Product with Serializable
Data shared with the game.
- trait WebRoutes extends BotBase[Future] with StrictLogging
- trait Webhook extends WebRoutes with StrictLogging
Uses a webhook, as an alternative to polling, to receive updates.
Uses a webhook, as an alternative to polling, to receive updates.
Automatically registers the webhook on run().
Value Members
- object Payload extends Serializable