Telegram.ChatBot.Chat (telegram v2.1.0)

View Source

A struct that represents a chat extracted from a Telegram update. Currently the only required field is id, any other data you may want to pass to Telegram.ChatBot.init/1 should be included under the metadata field.

Summary

Types

t()

@type t() :: %Telegram.ChatBot.Chat{id: String.t(), metadata: map() | nil}