Telegex v0.1.3 Telegex.Model.WebhookInfo View Source

Link to this section Summary

Functions

Convert map data to Elixir.Telegex.Model.WebhookInfo. Unlike Kernel.struct/2, this function will convert nested struct fields together.

Link to this section Types

Specs

t() :: %Telegex.Model.WebhookInfo{
  allowed_updates: [String.t()] | nil,
  has_custom_certificate: boolean(),
  last_error_date: integer() | nil,
  last_error_message: String.t() | nil,
  max_connections: integer() | nil,
  pending_update_count: integer(),
  url: String.t()
}

Link to this section Functions

Convert map data to Elixir.Telegex.Model.WebhookInfo. Unlike Kernel.struct/2, this function will convert nested struct fields together.