Tourmaline::Message
Inherits Tourmaline::Model < JSON::Serializable < Reference < Object
This object represents a Telegram user or bot.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
animation
Sourceaudio
Sourceauthor_signature
Sourceautomatic_forward?
Sourcecaption
Sourcecaption_entities
Sourcechannel_chat_created
Sourcechat
Sourcechats
Sourcechats
Sourceconnected_website
Sourcecontact
Sourcedate
Sourcedelete_chat_photo
Sourcedice
Sourcedocument
Sourceedit_caption(caption, **kwargs)
Edits the message's caption. See Tourmaline::Client#edit_message_caption
edit_date
Sourceedit_live_location(latitude, longitude, **kwargs)
Edits the message's live_location. See Tourmaline::Client#edit_message_live_location
edit_media(media, **kwargs)
Edits the message's media. See Tourmaline::Client#edit_message_media
edit_reply_markup(reply_markup)
Set the reply markup for the message. See Tourmaline::Client#edit_message_reply_markup.
edit_text(text, **kwargs)
Edits the text of a message. See Tourmaline::Client#edit_message_text.
entities
Sourcefile
Sourceforum_topic_closed
Sourceforum_topic_created
Sourceforum_topic_reopened
Sourceforward(to_chat, **kwargs)
Forward the message to another chat. See Tourmaline::Client#forward_message.
forward_date
Sourceforward_from
Sourceforward_from_chat
Sourceforward_from_message_id
Sourceforward_sender_name
Sourceforward_signature
Sourcefrom
Sourcegame
Sourcegroup_chat_created
Sourcehas_protected_content?
Sourceinvoice
Sourceleft_chat_member
Sourcelink
Sourcelocation
Sourcemedia_group_id
Sourcemessage_auto_delete_timer_changed
Sourcemessage_id
Sourcemessage_thread_id
Sourcemigrate_from_chat_id
Sourcemigrate_to_chat_id
Sourcenew_chat_members
Sourcenew_chat_photo
Sourcenew_chat_title
Sourcepassport_data
Sourcephoto
Sourcepinned_message
Sourcepoll
Sourceproximity_alert_triggered
Sourcereply_markup
Sourcereply_message
Sourcereply_with_animation(*args, **kwargs)
Sourcereply_with_audio(*args, **kwargs)
Sourcereply_with_basketball(*args, **kwargs)
Sourcereply_with_contact(*args, **kwargs)
Sourcereply_with_dart(*args, **kwargs)
Sourcereply_with_dice(*args, **kwargs)
Sourcereply_with_document(*args, **kwargs)
Sourcereply_with_invoice(*args, **kwargs)
Sourcereply_with_location(*args, **kwargs)
Sourcereply_with_media_group(*args, **kwargs)
Sourcereply_with_paginated_keyboard(keyboard : PaginatedKeyboard, **kwargs)
Sourcereply_with_photo(*args, **kwargs)
Sourcereply_with_poll(*args, **kwargs)
Sourcereply_with_sticker(*args, **kwargs)
Sourcereply_with_venu(*args, **kwargs)
Sourcereply_with_video(*args, **kwargs)
Sourcereply_with_video_note(*args, **kwargs)
Sourcereply_with_voice(*args, **kwargs)
Sourcerespond_with_animation(*args, **kwargs)
Sourcerespond_with_audio(*args, **kwargs)
Sourcerespond_with_basketball(*args, **kwargs)
Sourcerespond_with_contact(*args, **kwargs)
Sourcerespond_with_dart(*args, **kwargs)
Sourcerespond_with_dice(*args, **kwargs)
Sourcerespond_with_document(*args, **kwargs)
Sourcerespond_with_invoice(*args, **kwargs)
Sourcerespond_with_location(*args, **kwargs)
Sourcerespond_with_media_group(*args, **kwargs)
Sourcerespond_with_paginated_keyboard(keyboard : PaginatedKeyboard, **kwargs)
Sourcerespond_with_photo(*args, **kwargs)
Sourcerespond_with_poll(*args, **kwargs)
Sourcerespond_with_sticker(*args, **kwargs)
Sourcerespond_with_venu(*args, **kwargs)
Sourcerespond_with_video(*args, **kwargs)
Sourcerespond_with_video_note(*args, **kwargs)
Sourcerespond_with_voice(*args, **kwargs)
Sourcesender_chat
Sourcesender_type
Sourcesticker
Sourcestop_live_location
Sourcesuccessful_payment
Sourcesupergroup_chat_created
Sourcetext
Sourcetext_entities
Sourcetopic_message?
Sourceusers
Sourceusers
Sourcevenue
Sourcevia_bot
Sourcevideo
Sourcevideo_chat_ended
Sourcevideo_chat_participants_invited
Sourcevideo_chat_scheduled
Sourcevideo_chat_started
Sourcevideo_note
Sourcevoice
Sourceweb_app_data
Source