agala_telegram v0.1.2 Agala.Provider.Telegram.Model.Message

This object represents a message.

https://core.telegram.org/bots/api#message

Link to this section Summary

Functions

Alias to c:make/2, used to follow Construct.Type.cast/1 callback

Alias to c:make/2, but raises an Construct.MakeError exception if params have errors

Link to this section Types

Link to this type t()
t() :: %Agala.Provider.Telegram.Model.Message{supergroup_chat_created: term(), from: term(), channel_chat_created: term(), contact: term(), forward_from: term(), date: term(), message_id: term(), pinned_message: term(), voice: term(), photo: term(), delete_chat_photo: term(), new_chat_title: term(), group_chat_created: term(), caption_entities: term(), location: term(), text: term(), migrate_to_chat_id: term(), document: term(), game: term(), reply_to_message: term(), forward_signature: term(), venue: term(), caption: term(), author_signature: term(), video: term(), video_note: term(), media_group_id: term(), audio: term(), new_chat_photo: term(), forward_from_chat: term(), left_chat_member: term(), forward_date: term(), new_chat_members: term(), migrate_from_chat_id: term(), chat: term(), sticker: term(), forward_from_message_id: term(), edit_date: term(), entities: term()}

Link to this section Functions

Link to this function cast(params, opts \\ [])

Alias to c:make/2, used to follow Construct.Type.cast/1 callback.

To use this structure as custom type.

Callback implementation for Construct.cast/2.

Link to this function make(params \\ %{}, opts \\ [])

Alias to Construct.Cast.make/3.

Callback implementation for Construct.make/2.

Link to this function make!(params \\ %{}, opts \\ [])

Alias to c:make/2, but raises an Construct.MakeError exception if params have errors.

Callback implementation for Construct.make!/2.