enum Tourmaline::Bot::UpdateAction

Defined in:

tourmaline/bot/client.cr

Enum Members

Message = 0
EditedMessage = 1
CallbackQuery = 2
InlineQuery = 3
ShippingQuery = 4
PreCheckoutQuery = 5
ChosenInlineResult = 6
ChannelPost = 7
EditedChannelPost = 8
Text = 9
Audio = 10
Document = 11
Photo = 12
Sticker = 13
Video = 14
Voice = 15
Contact = 16
Location = 17
Venue = 18
NewChatMembers = 19
LeftChatMember = 20
NewChatTitle = 21
NewChatPhoto = 22
DeleteChatPhoto = 23
GroupChatCreated = 24
MigrateToChatId = 25
SupergroupChatCreated = 26
ChannelChatCreated = 27
MigrateFromChatId = 28
PinnedMessage = 29
Game = 30
VideoNote = 31
Invoice = 32
SuccessfulPayment = 33

Instance Method Summary

Instance Method Detail

def audio? #

[View source]
def callback_query? #

[View source]
def channel_chat_created? #

[View source]
def channel_post? #

[View source]
def chosen_inline_result? #

[View source]
def contact? #

[View source]
def delete_chat_photo? #

[View source]
def document? #

[View source]
def edited_channel_post? #

[View source]
def edited_message? #

[View source]
def game? #

[View source]
def group_chat_created? #

[View source]
def inline_query? #

[View source]
def invoice? #

[View source]
def left_chat_member? #

[View source]
def location? #

[View source]
def message? #

[View source]
def migrate_from_chat_id? #

[View source]
def migrate_to_chat_id? #

[View source]
def new_chat_members? #

[View source]
def new_chat_photo? #

[View source]
def new_chat_title? #

[View source]
def photo? #

[View source]
def pinned_message? #

[View source]
def pre_checkout_query? #

[View source]
def shipping_query? #

[View source]
def sticker? #

[View source]
def successful_payment? #

[View source]
def supergroup_chat_created? #

[View source]
def text? #

[View source]
def to_s #

[View source]
def venue? #

[View source]
def video? #

[View source]
def video_note? #

[View source]
def voice? #

[View source]