class TelegramBot::Message

Included Modules

Defined in:

telegram_bot/types/message.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def animation : Animation | Nil #

def animation=(animation : Animation | Nil) #

def audio : Audio | Nil #

def audio=(audio : Audio | Nil) #

def author_signature : String | Nil #

def author_signature=(author_signature : String | Nil) #

def caption : String | Nil #

def caption=(caption : String | Nil) #

def caption_entities : Array(MessageEntity) | Nil #

def caption_entities=(caption_entities : Array(MessageEntity) | Nil) #

def channel_chat_created=(channel_chat_created : Bool | Nil) #

def channel_chat_created? : Bool | Nil #

def chat : Chat #

def chat=(chat : Chat) #

def contact : Contact | Nil #

def contact=(contact : Contact | Nil) #

def date : Int32 #

def date=(date : Int32) #

def delete_chat_photo=(delete_chat_photo : Bool | Nil) #

def delete_chat_photo? : Bool | Nil #

def document : Document | Nil #

def document=(document : Document | Nil) #

def edit_date : Int32 | Nil #

def edit_date=(edit_date : Int32 | Nil) #

def entities : Array(MessageEntity) | Nil #

def entities=(entities : Array(MessageEntity) | Nil) #

def forward_date : Int32 | Nil #

def forward_date=(forward_date : Int32 | Nil) #

def forward_from : User | Nil #

def forward_from=(forward_from : User | Nil) #

def forward_from_chat : Chat | Nil #

def forward_from_chat=(forward_from_chat : Chat | Nil) #

def forward_from_message_id : Int32 | Nil #

def forward_from_message_id=(forward_from_message_id : Int32 | Nil) #

def forward_sender_name : String | Nil #

def forward_sender_name=(forward_sender_name : String | Nil) #

def forward_signature : String | Nil #

def forward_signature=(forward_signature : String | Nil) #

def from : User | Nil #

def from=(from : User | Nil) #

def group_chat_created=(group_chat_created : Bool | Nil) #

def group_chat_created? : Bool | Nil #

def invoice : Invoice | Nil #

def invoice=(invoice : Invoice | Nil) #

def left_chat_member : User | Nil #

def left_chat_member=(left_chat_member : User | Nil) #

def location : Location | Nil #

def location=(location : Location | Nil) #

def media_group_id : String | Nil #

def media_group_id=(media_group_id : String | Nil) #

def message_id : Int32 #

def message_id=(message_id : Int32) #

def migrate_from_chat_id : Int32 | Nil #

def migrate_from_chat_id=(migrate_from_chat_id : Int32 | Nil) #

def migrate_to_chat_id : Int32 | Nil #

def migrate_to_chat_id=(migrate_to_chat_id : Int32 | Nil) #

def new_chat_members : Array(User) | Nil #

def new_chat_members=(new_chat_members : Array(User) | Nil) #

def new_chat_photo : Array(PhotoSize) | Nil #

def new_chat_photo=(new_chat_photo : Array(PhotoSize) | Nil) #

def new_chat_title : String | Nil #

def new_chat_title=(new_chat_title : String | Nil) #

def photo : Array(PhotoSize) | Nil #

def photo=(photo : Array(PhotoSize) | Nil) #

def pinned_message : Message | Nil #

def pinned_message=(pinned_message : Message | Nil) #

def reply_to_message : Message | Nil #

def reply_to_message=(reply_to_message : Message | Nil) #

def sticker : Sticker | Nil #

def sticker=(sticker : Sticker | Nil) #

def successful_payment : SuccessfulPayment | Nil #

def successful_payment=(successful_payment : SuccessfulPayment | Nil) #

def supergroup_chat_created=(supergroup_chat_created : Bool | Nil) #

def supergroup_chat_created? : Bool | Nil #

def text : String | Nil #

def text=(text : String | Nil) #

def venue : Venue | Nil #

def venue=(venue : Venue | Nil) #

def via_bot : User | Nil #

def via_bot=(via_bot : User | Nil) #

def video : Video | Nil #

def video=(video : Video | Nil) #

def video_note : VideoNote | Nil #

def video_note=(video_note : VideoNote | Nil) #

def voice : Voice | Nil #

def voice=(voice : Voice | Nil) #