View Source Telegex.Hook.Config (Telegex v1.8.0)
Configure webhook mode.
Field descriptions
server_port
- Port for the webhook server. Defaults to4000
.secret_token
- Thesecret_token
parameter of thesetWebhook
method. UseTelegex.Tools.gen_secret_token/1
to generate a reliable token.
Summary
Types
@type t() :: %Telegex.Hook.Config{ secret_token: String.t() | nil, server_port: non_neg_integer() }