Instance methods
answer_pre_checkout_query
Sourceapi
Slightly shorter alias for the client
Sourcecallback_query(*args, **options)
Pass all update methods to the update object
Sourcecallback_query(*args, **options, &)
Pass all update methods to the update object
Sourcecallback_query?(*args, **options)
Pass all update methods to the update object
Sourcecallback_query?(*args, **options, &)
Pass all update methods to the update object
Sourcechannel_post(*args, **options)
Pass all update methods to the update object
Sourcechannel_post(*args, **options, &)
Pass all update methods to the update object
Sourcechannel_post?(*args, **options)
Pass all update methods to the update object
Sourcechannel_post?(*args, **options, &)
Pass all update methods to the update object
Sourcechosen_inline_result(*args, **options)
Pass all update methods to the update object
Sourcechosen_inline_result(*args, **options, &)
Pass all update methods to the update object
Sourcechosen_inline_result?(*args, **options)
Pass all update methods to the update object
Sourcechosen_inline_result?(*args, **options, &)
Pass all update methods to the update object
Sourcecommand
Get the command name, return nil if there is no message
Sourcecommand!
Get the command name, raise an exception if there is no message
Sourcedelete_message(message_id :
Int32)
Context aware message deletion
SourceContext aware live location editing
Sourceedit_message(text :
String, **kwargs)
Sourceedited_channel_post(*args, **options)
Pass all update methods to the update object
Sourceedited_channel_post(*args, **options, &)
Pass all update methods to the update object
Sourceedited_channel_post?(*args, **options)
Pass all update methods to the update object
Sourceedited_channel_post?(*args, **options, &)
Pass all update methods to the update object
Sourceedited_message(*args, **options)
Pass all update methods to the update object
Sourceedited_message(*args, **options, &)
Pass all update methods to the update object
Sourceedited_message?(*args, **options)
Pass all update methods to the update object
Sourceedited_message?(*args, **options, &)
Pass all update methods to the update object
Sourceforward_message(to_chat, **kwargs)
Sourceinline_query(*args, **options)
Pass all update methods to the update object
Sourceinline_query(*args, **options, &)
Pass all update methods to the update object
Sourceinline_query?(*args, **options)
Pass all update methods to the update object
Sourceinline_query?(*args, **options, &)
Pass all update methods to the update object
Sourcemessage
Retuns the message, edited_message, channel_post, edited_channel_post, callback_query.message, or nil
Sourcemessage(*args, **options)
Pass all update methods to the update object
Sourcemessage(*args, **options, &)
Pass all update methods to the update object
Sourcemessage!
Returns the message, edited_message, channel_post, edited_channel_post, callback_query.message, or raises an exception
Sourcemessage?(*args, **options)
Pass all update methods to the update object
Sourcemessage?(*args, **options, &)
Pass all update methods to the update object
Sourcepoll(*args, **options)
Pass all update methods to the update object
Sourcepoll(*args, **options, &)
Pass all update methods to the update object
Sourcepoll?(*args, **options)
Pass all update methods to the update object
Sourcepoll?(*args, **options, &)
Pass all update methods to the update object
Sourcepoll_answer(*args, **options)
Pass all update methods to the update object
Sourcepoll_answer(*args, **options, &)
Pass all update methods to the update object
Sourcepoll_answer?(*args, **options)
Pass all update methods to the update object
Sourcepoll_answer?(*args, **options, &)
Pass all update methods to the update object
Sourcepre_checkout_query(*args, **options)
Pass all update methods to the update object
Sourcepre_checkout_query(*args, **options, &)
Pass all update methods to the update object
Sourcepre_checkout_query?(*args, **options)
Pass all update methods to the update object
Sourcepre_checkout_query?(*args, **options, &)
Pass all update methods to the update object
Sourcereply(text :
String, **kwargs)
Reply directly to the incoming message
Sourcereply_with_animation(animation, **kwargs)
Reply directly to the incoming message with a animation
Sourcereply_with_audio(audio, **kwargs)
Reply directly to the incoming message with a audio
Sourcereply_with_basketball
Reply directly to the incoming message with a basketball
Sourcereply_with_bowling
Reply directly to the incoming message with a bowling
Sourcereply_with_dart
Reply directly to the incoming message with a dart
Sourcereply_with_dice
Reply directly to the incoming message with a dice
Sourcereply_with_document(document, **kwargs)
Reply directly to the incoming message with a document
Sourcereply_with_invoice(invoice, **kwargs)
Reply directly to the incoming message with a invoice
Sourcereply_with_location(latitude :
Float64, longitude :
Float64, **kwargs)
Reply directly to the incoming message with a location
Sourcereply_with_photo(photo, **kwargs)
Reply directly to the incoming message with a photo
SourceReply directly to the incoming message with a poll
Sourcereply_with_slot_machine
Reply directly to the incoming message with a slot_machine
Sourcereply_with_sticker(sticker, **kwargs)
Reply directly to the incoming message with a sticker
Sourcereply_with_venue(venue, **kwargs)
Reply directly to the incoming message with a venue
Sourcereply_with_video(video, **kwargs)
Reply directly to the incoming message with a video
Sourcereply_with_video_note(video_note, **kwargs)
Reply directly to the incoming message with a video_note
Sourcereply_with_voice(voice, **kwargs)
Reply directly to the incoming message with a voice
Sourcerespond(text :
String, **kwargs)
Respond to the incoming message
Sourcerespond_with_animation(animation, **kwargs)
Sourcerespond_with_audio(audio, **kwargs)
Sourcerespond_with_basketball
Respond with a basketball
Sourcerespond_with_document(document, **kwargs)
Sourcerespond_with_invoice(invoice, **kwargs)
Sourcerespond_with_photo(photo, **kwargs)
Sourcerespond_with_slot_machine
Respond with a slot_machine
Sourcerespond_with_sticker(sticker, **kwargs)
Sourcerespond_with_venue(venue, **kwargs)
Sourcerespond_with_video(video, **kwargs)
Sourcerespond_with_video_note(video_note, **kwargs)
Respond with a video_note
Sourcerespond_with_voice(voice, **kwargs)
Sourcesend_chat_action(action :
String |
ChatAction)
Context aware chat actions
Sourceshipping_query(*args, **options)
Pass all update methods to the update object
Sourceshipping_query(*args, **options, &)
Pass all update methods to the update object
Sourceshipping_query?(*args, **options)
Pass all update methods to the update object
Sourceshipping_query?(*args, **options, &)
Pass all update methods to the update object
Sourcetext(strip_command = true)
Get the message text, return nil if there is no message
Sourcetext!(strip_command = true)
Get the message text, raise an exception if there is no message
Sourcewith_message
If the update contains a message, pass it to the block. Less boilerplate.
Source