Telegram.ChatBot.Chat (telegram v2.1.0)
View SourceA 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.