WebhookBot

telegramium.bots.high.WebhookBot$
See theWebhookBot companion class
object WebhookBot

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def compose[F[_] : Async](bots: List[WebhookBot[F]], port: Int, host: String): Resource[F, Server]

Use this method to compose multiple Webhook bots as a single Http Server that will register the webhooks and handle the requests.

Use this method to compose multiple Webhook bots as a single Http Server that will register the webhooks and handle the requests.

Attributes

bots

List of bots to compose

host

Host to bind to. Default localhost

port

Port to bind to

Returns:

Resource[F, Server[F]] Result Http server wrapped into a Resource data type