struct

Telegram::ForceReply

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: ForceReply Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot's message and tapped 'Reply'). This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice privacy mode. Not supported in channels and for messages sent on behalf of a Telegram Business account.

Constructors

new(force_reply : Bool, input_field_placeholder : String | Nil = nil, selective : Bool | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(force_reply _force_reply = @force_reply, input_field_placeholder _input_field_placeholder = @input_field_placeholder, selective _selective = @selective)
Source
force_reply
input_field_placeholder
selective