telegramium.bots.high

Members list

Type members

Classlikes

trait Api[F[_]]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BotApi[F]
class BotApi[F[_]](http: Client[F], baseUrl: String)(implicit F: Async[F]) extends Api[F]

Attributes

Companion
object
Supertypes
trait Api[F]
class Object
trait Matchable
class Any
object BotApi

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
BotApi.type
sealed trait BotApiError extends Throwable, Product, Serializable

Attributes

Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
class FailedRequest[A]
final case class FailedRequest[A](method: Method[A], errorCode: Option[Int], description: Option[String]) extends BotApiError

Attributes

Supertypes
trait BotApiError
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
abstract class LongPollBot[F[_]](bot: Api[F])(implicit evidence$1: Parallel[F], evidence$2: Async[F]) extends Methods

Attributes

Companion
object
Supertypes
trait Methods
class Object
trait Matchable
class Any
object LongPollBot

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
object Methods extends Methods

Attributes

Supertypes
trait Methods
class Object
trait Matchable
class Any
Self type
Methods.type
final case class ResponseDecodingError(message: String, cause: Option[Throwable]) extends Throwable

Attributes

Companion
object
Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
abstract class WebhookBot[F[_]](bot: Api[F], url: String, path: String, certificate: Option[InputPartFile], ipAddress: Option[String], maxConnections: Option[Int], allowedUpdates: List[String])(implicit evidence$1: Async[F]) extends Methods

Value parameters

allowedUpdates

A list of the update types you want your bot to receive. For example, specify [“message”, “edited_channel_post”, “callback_query”] to only receive updates of these types. See Update for a complete list of available update types. Specify an empty list to receive all updates regardless of type (default). If not specified, the previous setting will be used. Please note that this parameter doesn't affect updates created before the call to the setWebhook, so unwanted updates may be received for a short period of time.

certificate

Upload your public key certificate so that the root certificate in use can be checked.

ipAddress

The fixed IP address which will be used to send webhook requests instead of the IP address resolved through DNS.

maxConnections

Maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery, 1-100. Defaults to 40. Use lower values to limit the load on your bot‘s server, and higher values to increase your bot’s throughput.

path

Webhook route. Must be consistent with url. ''If you'd like to make sure that the Webhook request comes from Telegram, we recommend using a secret path in the URL, e.g. https://www.example.com/<token>. Since nobody else knows your bot's token, you can be pretty sure it's us.''

url

HTTPS url to send updates to. Use an empty string to remove webhook integration

Attributes

Companion
object
Supertypes
trait Methods
class Object
trait Matchable
class Any
object WebhookBot

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
WebhookBot.type
object implicits

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
implicits.type