Sha256: 2da152fd03c991ad01f586e22919e24441541e9a2aa401fdb7330e64b4a53ec3
Contents?: true
Size: 1018 Bytes
Versions: 3
Compression:
Stored size: 1018 Bytes
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 [String] Placeholder for inline queries (displayed on the client 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tdlib-ruby-2.2.0 | lib/tdlib/types/user_type/bot.rb |
tdlib-ruby-2.1.0 | lib/tdlib/types/user_type/bot.rb |
tdlib-ruby-2.0.0 | lib/tdlib/types/user_type/bot.rb |