class Tourmaline::Message
- Tourmaline::Message
 - Reference
 - Object
 
Overview
This object represents a Telegram user or bot.
Included Modules
- JSON::Serializable
 
Defined in:
tourmaline/models/message.crConstructors
Instance Method Summary
- #animation : Animation | Nil
 - #audio : Audio | Nil
 - #author_signature : String | Nil
 - #automatic_forward? : Bool | Nil
 - #caption : String | Nil
 - #caption_entities : Array(MessageEntity)
 - #channel_chat_created : Bool | Nil
 - #chat : Chat
 - #chat_shared : ChatShared | Nil
 - #chats
 - #chats(&block : Chat -> )
 - #connected_website : String | Nil
 - #contact : Contact | Nil
 - #date : Time
 - #delete_chat_photo : Bool | Nil
 - #dice : Dice | Nil
 - #document : Document | Nil
 - #edit_date : Time | Nil
 - #entities : Array(MessageEntity)
 - #file
 - #forum_topic_closed : ForumTopicClosed | Nil
 - #forum_topic_created : ForumTopicCreated | Nil
 - #forum_topic_edited : ForumTopicEdited | Nil
 - #forum_topic_reopened : ForumTopicReopened | Nil
 - #forward_date : Time | Nil
 - #forward_from : User | Nil
 - #forward_from_chat : Chat | Nil
 - #forward_from_message_id : Int64 | Nil
 - #forward_sender_name : String | Nil
 - #forward_signature : String | Nil
 - 
        #forwards : Int32 | Nil
        
          
USER API ONLY
 - #from : User | Nil
 - #game : Game | Nil
 - #general_forum_topic_hidden : GeneralForumTopicHidden | Nil
 - #general_forum_topic_unhidden : GeneralForumTopicUnhidden | Nil
 - #group_chat_created : Bool | Nil
 - #has_media_spoiler : Bool | Nil
 - #has_protected_content? : Bool | Nil
 - #invoice : Invoice | Nil
 - #left_chat_member : User | Nil
 - #link
 - #location : Location | Nil
 - #media_group_id : String | Nil
 - #message_auto_delete_timer_changed : MessageAutoDeleteTimerChanged | Nil
 - #message_id : Int64
 - #message_thread_id : Int64 | Nil
 - #migrate_from_chat_id : Int64 | Nil
 - #migrate_to_chat_id : Int64 | Nil
 - #new_chat_members : Array(User)
 - #new_chat_photo : Array(PhotoSize)
 - #new_chat_title : String | Nil
 - 
        #outgoing? : Bool | Nil
        
          
USER API ONLY
 - #passport_data : PassportData | Nil
 - #photo : Array(PhotoSize)
 - #pinned_message : Message | Nil
 - #poll : Poll | Nil
 - #proximity_alert_triggered : ProximityAlertTriggered | Nil
 - #reply_markup : InlineKeyboardMarkup | Nil
 - #reply_message : Message | Nil
 - #sender_chat : Chat | Nil
 - #sender_type
 - #sticker : Sticker | Nil
 - #successful_payment : SuccessfulPayment | Nil
 - #supergroup_chat_created : Bool | Nil
 - #text : String | Nil
 - #text_entities(type : String)
 - #text_entities
 - #topic_message? : Bool | Nil
 - #user_shared : UserShared | Nil
 - #users
 - #users(&block : User -> )
 - #venue : Venue | Nil
 - #via_bot : User | Nil
 - #video : Video | Nil
 - #video_chat_ended : VideoChatEnded | Nil
 - #video_chat_participants_invited : VideoChatParticipantsInvited | Nil
 - #video_chat_scheduled : VideoChatScheduled | Nil
 - #video_chat_started : VideoChatStarted | Nil
 - #video_note : VideoNote | Nil
 - 
        #views : Int32 | Nil
        
          
USER API ONLY
 - #voice : Voice | Nil
 - #web_app_data : WebAppData | Nil