class TelegramBot::Message

Included Modules

Defined in:

telegram_bot/types/message.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def animation : Animation | Nil #

[View source]
def animation=(animation : Animation | Nil) #

[View source]
def audio : Audio | Nil #

[View source]
def audio=(audio : Audio | Nil) #

[View source]
def author_signature : String | Nil #

[View source]
def author_signature=(author_signature : String | Nil) #

[View source]
def caption : String | Nil #

[View source]
def caption=(caption : String | Nil) #

[View source]
def caption_entities : Array(MessageEntity) | Nil #

[View source]
def caption_entities=(caption_entities : Array(MessageEntity) | Nil) #

[View source]
def channel_chat_created=(channel_chat_created : Bool | Nil) #

[View source]
def channel_chat_created? : Bool | Nil #

[View source]
def chat : Chat #

[View source]
def chat=(chat : Chat) #

[View source]
def contact : Contact | Nil #

[View source]
def contact=(contact : Contact | Nil) #

[View source]
def date : Int32 #

[View source]
def date=(date : Int32) #

[View source]
def delete_chat_photo=(delete_chat_photo : Bool | Nil) #

[View source]
def delete_chat_photo? : Bool | Nil #

[View source]
def document : Document | Nil #

[View source]
def document=(document : Document | Nil) #

[View source]
def edit_date : Int32 | Nil #

[View source]
def edit_date=(edit_date : Int32 | Nil) #

[View source]
def entities : Array(MessageEntity) | Nil #

[View source]
def entities=(entities : Array(MessageEntity) | Nil) #

[View source]
def forward_date : Int32 | Nil #

[View source]
def forward_date=(forward_date : Int32 | Nil) #

[View source]
def forward_from : User | Nil #

[View source]
def forward_from=(forward_from : User | Nil) #

[View source]
def forward_from_chat : Chat | Nil #

[View source]
def forward_from_chat=(forward_from_chat : Chat | Nil) #

[View source]
def forward_from_message_id : Int32 | Nil #

[View source]
def forward_from_message_id=(forward_from_message_id : Int32 | Nil) #

[View source]
def forward_sender_name : String | Nil #

[View source]
def forward_sender_name=(forward_sender_name : String | Nil) #

[View source]
def forward_signature : String | Nil #

[View source]
def forward_signature=(forward_signature : String | Nil) #

[View source]
def from : User | Nil #

[View source]
def from=(from : User | Nil) #

[View source]
def group_chat_created=(group_chat_created : Bool | Nil) #

[View source]
def group_chat_created? : Bool | Nil #

[View source]
def invoice : Invoice | Nil #

[View source]
def invoice=(invoice : Invoice | Nil) #

[View source]
def left_chat_member : User | Nil #

[View source]
def left_chat_member=(left_chat_member : User | Nil) #

[View source]
def location : Location | Nil #

[View source]
def location=(location : Location | Nil) #

[View source]
def media_group_id : String | Nil #

[View source]
def media_group_id=(media_group_id : String | Nil) #

[View source]
def message_id : Int32 #

[View source]
def message_id=(message_id : Int32) #

[View source]
def migrate_from_chat_id : Int32 | Nil #

[View source]
def migrate_from_chat_id=(migrate_from_chat_id : Int32 | Nil) #

[View source]
def migrate_to_chat_id : Int32 | Nil #

[View source]
def migrate_to_chat_id=(migrate_to_chat_id : Int32 | Nil) #

[View source]
def new_chat_members : Array(User) | Nil #

[View source]
def new_chat_members=(new_chat_members : Array(User) | Nil) #

[View source]
def new_chat_photo : Array(PhotoSize) | Nil #

[View source]
def new_chat_photo=(new_chat_photo : Array(PhotoSize) | Nil) #

[View source]
def new_chat_title : String | Nil #

[View source]
def new_chat_title=(new_chat_title : String | Nil) #

[View source]
def photo : Array(PhotoSize) | Nil #

[View source]
def photo=(photo : Array(PhotoSize) | Nil) #

[View source]
def pinned_message : Message | Nil #

[View source]
def pinned_message=(pinned_message : Message | Nil) #

[View source]
def reply_to_message : Message | Nil #

[View source]
def reply_to_message=(reply_to_message : Message | Nil) #

[View source]
def sticker : Sticker | Nil #

[View source]
def sticker=(sticker : Sticker | Nil) #

[View source]
def successful_payment : SuccessfulPayment | Nil #

[View source]
def successful_payment=(successful_payment : SuccessfulPayment | Nil) #

[View source]
def supergroup_chat_created=(supergroup_chat_created : Bool | Nil) #

[View source]
def supergroup_chat_created? : Bool | Nil #

[View source]
def text : String | Nil #

[View source]
def text=(text : String | Nil) #

[View source]
def venue : Venue | Nil #

[View source]
def venue=(venue : Venue | Nil) #

[View source]
def via_bot : User | Nil #

[View source]
def via_bot=(via_bot : User | Nil) #

[View source]
def video : Video | Nil #

[View source]
def video=(video : Video | Nil) #

[View source]
def video_note : VideoNote | Nil #

[View source]
def video_note=(video_note : VideoNote | Nil) #

[View source]
def voice : Voice | Nil #

[View source]
def voice=(voice : Voice | Nil) #

[View source]