Sha256: 1aea97a5bcf93a3a146a139d500d2b1fcbadc41a17af40bbe73a66683e6e0d6d

Contents?: true

Size: 1023 Bytes

Versions: 1

Compression:

Stored size: 1023 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 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

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/user_type/bot.rb