Sha256: 0285118d8bb2c5cd9d90208c40d754b0c9ff1857051cf8ecb9ff381dc76af39a
Contents?: true
Size: 1.38 KB
Versions: 1
Compression:
Stored size: 1.38 KB
Contents
module TD::Types # Contains full information about a user (except the full list of profile photos). # # @attr is_blocked [Boolean] True, if the user is blacklisted by the current user. # @attr can_be_called [Boolean] True, if the user can be called. # @attr has_private_calls [Boolean] True, if the user can't be called due to their privacy settings. # @attr need_phone_number_privacy_exception [Boolean] True, if the current user needs to explicitly allow to share # their phone number with the user when the method addContact is used. # @attr bio [String] A short user bio. # @attr share_text [String] For bots, the text that is included with the link when users share the bot. # @attr group_in_common_count [Integer] Number of group chats where both the other user and the current user are a # member; 0 for the current user. # @attr bot_info [TD::Types::BotInfo, nil] If the user is a bot, information about the bot; may be null. class UserFullInfo < Base attribute :is_blocked, TD::Types::Bool attribute :can_be_called, TD::Types::Bool attribute :has_private_calls, TD::Types::Bool attribute :need_phone_number_privacy_exception, TD::Types::Bool attribute :bio, TD::Types::String attribute :share_text, TD::Types::String attribute :group_in_common_count, TD::Types::Integer attribute :bot_info, TD::Types::BotInfo.optional.default(nil) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tdlib-ruby-2.2.0 | lib/tdlib/types/user_full_info.rb |