Sha256: a476de8e5aa27449f47e3bd7a3dd5e42f9f77e7d5e07b69bbe9efa75676a9409
Contents?: true
Size: 1.02 KB
Versions: 2
Compression:
Stored size: 1.02 KB
Contents
module TD::Types # A bot (see https://core.telegram.org/bots). # # @attr can_join_groups [Boolean] True, if the bot can be invited to basic group and supergroup chats. # @attr can_read_all_group_messages [Boolean] True, if the bot can read all messages in basic group or supergroup # chats and not just those addressed to the bot. # In private and channel chats a bot can always read all messages. # @attr is_inline [Boolean] True, if the bot supports inline queries. # @attr inline_query_placeholder [TD::Types::String] Placeholder for inline queries (displayed on the application # input field). # @attr need_location [Boolean] True, if the location of the user should be sent with every inline query to this bot. class UserType::Bot < UserType attribute :can_join_groups, TD::Types::Bool attribute :can_read_all_group_messages, TD::Types::Bool attribute :is_inline, TD::Types::Bool attribute :inline_query_placeholder, TD::Types::String attribute :need_location, TD::Types::Bool end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.3 | lib/tdlib/types/user_type/bot.rb |
tdlib-schema-1.7.0.2 | lib/tdlib/types/user_type/bot.rb |