Packages

package api

Contains implicit conversions to the API classes of particular Telegram models

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. api
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package matching
  2. package models
  3. package sources

Type Members

  1. class Bot[F[_]] extends AnyRef

    An instance which can communicate with Telegram service and interact with other Telegram users in a certain predefined way

  2. final case class FailedMethod[I, A](m: Method[I, A], input: I, response: Response[A]) extends Throwable with TelegramError with Product with Serializable
  3. final case class ResponseDecodingError(json: String) extends Throwable with TelegramError with Product with Serializable
  4. final class Scenario[F[_], +A] extends AnyVal

    Description of an interaction between two parties, where generally one is the application (bot) and the other is Telegram user.

    Description of an interaction between two parties, where generally one is the application (bot) and the other is Telegram user.

    Particular interaction is coherent with some scenario as long as it matches the description (i.e. every step of the interaction matches the step described in scenario).

    Scenario forms a monad in A with pure and flatMap.

  5. trait TelegramClient[F[_]] extends AnyRef

    Client which is able to execute Telegram Bot API methods in effect F.

  6. sealed trait TelegramError extends Throwable

Value Members

  1. implicit def callbackQueryApi(query: CallbackQuery): CallbackQueryAPI
  2. implicit def chatApi(chat: Chat): ChatApi
  3. implicit def inlineQueryApi(query: InlineQuery): InlineQueryApi
  4. implicit def liveLocationApi(message: LocationMessage): LiveLocationAPI
  5. implicit def messageApi(message: TelegramMessage): MessageApi
  6. implicit def pollApi(message: PollMessage): PollMessageApi
  7. implicit def preCheckoutQueryApi(query: PreCheckoutQuery): PreCheckoutQueryAPI
  8. implicit def shippingQueryApi(query: ShippingQuery): ShippingQueryAPI
  9. object Bot
  10. object Broadcast
  11. object Scenario
  12. object TelegramClient
  13. object pipes

Inherited from AnyRef

Inherited from Any

Ungrouped