ChatFull

class pyrogram.raw.types.ChatFull

Full info about a basic group.

Constructor of ChatFull.

Details:
  • Layer: 227

  • ID: 2633421B

Parameters:
  • id (int 64-bit) – ID of the chat

  • about (str) – About string for this chat

  • participants (ChatParticipants) – Participant list

  • notify_settings (PeerNotifySettings) – Notification settings

  • can_set_username (bool, optional) – Can we change the username of this chat

  • has_scheduled (bool, optional) – Whether scheduled messages are available

  • translations_disabled (bool, optional) – Whether the real-time chat translation popup should be hidden.

  • chat_photo (Photo, optional) – Chat photo

  • exported_invite (ExportedChatInvite, optional) – Chat invite

  • bot_info (List of BotInfo, optional) – Info about bots that are in this chat

  • pinned_msg_id (int 32-bit, optional) – Message ID of the last pinned message

  • folder_id (int 32-bit, optional) – Peer folder ID, for more info click here

  • call (InputGroupCall, optional) – Group call information

  • ttl_period (int 32-bit, optional) – Time-To-Live of messages sent by the current user to this chat

  • groupcall_default_join_as (Peer, optional) – When using phone.getGroupCallJoinAs to get a list of peers that can be used to join a group call, this field indicates the peer that should be selected by default.

  • theme_emoticon (str, optional) – Emoji representing a specific chat theme

  • requests_pending (int 32-bit, optional) – Pending join requests »

  • recent_requesters (List of int 64-bit, optional) – IDs of users who requested to join recently

  • available_reactions (ChatReactions, optional) – Allowed message reactions »

  • reactions_limit (int 32-bit, optional) – This flag may be used to impose a custom limit of unique reactions (i.e. a customizable version of appConfig.reactions_uniq_max).

TL Schema

chatFull#2633421b
flags:#
can_set_username:flags.7?true
has_scheduled:flags.8?true
translations_disabled:flags.19?true
id:long
about:string
participants:ChatParticipants
chat_photo:flags.2?Photo
notify_settings:PeerNotifySettings
exported_invite:flags.13?ExportedChatInvite
bot_info:flags.3?Vector<BotInfo>
pinned_msg_id:flags.6?int
folder_id:flags.11?int
call:flags.12?InputGroupCall
ttl_period:flags.14?int
groupcall_default_join_as:flags.15?Peer
theme_emoticon:flags.16?string
requests_pending:flags.17?int
recent_requesters:flags.17?Vector<long>
available_reactions:flags.18?ChatReactions
reactions_limit:flags.20?int

= ChatFull

Parameter Tree

ChatFull
├── can_set_username → true (optional)
├── has_scheduled → true (optional)
├── translations_disabled → true (optional)
├── id → long
├── about → string
├── participants → ChatParticipants
│ │ ├── chat_id → long
│ │ └── self_participant → ChatParticipant (optional)
│ │ ├── ChatParticipant
│ │ │ ├── user_id → long
│ │ │ ├── inviter_id → long
│ │ │ ├── date → int
│ │ │ └── rank → string (optional)
│ │ ├── ChatParticipantCreator
│ │ │ ├── user_id → long
│ │ │ └── rank → string (optional)
│ │ └── ChatParticipantAdmin
│ │ ├── user_id → long
│ │ ├── inviter_id → long
│ │ ├── date → int
│ │ └── rank → string (optional)
│ └── ChatParticipants
│ ├── chat_id → long
│ ├── participants → Vector < ChatParticipant >
│ │ ├── ChatParticipant
│ │ │ ├── user_id → long
│ │ │ ├── inviter_id → long
│ │ │ ├── date → int
│ │ │ └── rank → string (optional)
│ │ ├── ChatParticipantCreator
│ │ │ ├── user_id → long
│ │ │ └── rank → string (optional)
│ │ └── ChatParticipantAdmin
│ │ ├── user_id → long
│ │ ├── inviter_id → long
│ │ ├── date → int
│ │ └── rank → string (optional)
│ └── version → int
├── chat_photo → Photo (optional)
│ ├── PhotoEmpty
│ │ └── id → long
│ └── Photo
│ ├── has_stickers → true (optional)
│ ├── id → long
│ ├── access_hash → long
│ ├── file_reference → bytes
│ ├── date → int
│ ├── sizes → Vector < PhotoSize >
│ │ ├── PhotoSizeEmpty
│ │ │ └── type → string
│ │ ├── PhotoSize
│ │ │ ├── type → string
│ │ │ ├── w → int
│ │ │ ├── h → int
│ │ │ └── size → int
│ │ ├── PhotoCachedSize
│ │ │ ├── type → string
│ │ │ ├── w → int
│ │ │ ├── h → int
│ │ │ └── bytes → bytes
│ │ ├── PhotoStrippedSize
│ │ │ ├── type → string
│ │ │ └── bytes → bytes
│ │ ├── PhotoSizeProgressive
│ │ │ ├── type → string
│ │ │ ├── w → int
│ │ │ ├── h → int
│ │ │ └── sizes → Vector < int >
│ │ └── PhotoPathSize
│ │ ├── type → string
│ │ └── bytes → bytes
│ ├── video_sizes → Vector < VideoSize > (optional)
│ │ ├── VideoSize
│ │ │ ├── type → string
│ │ │ ├── w → int
│ │ │ ├── h → int
│ │ │ ├── size → int
│ │ │ └── video_start_ts → double (optional)
│ │ ├── VideoSizeEmojiMarkup
│ │ │ ├── emoji_id → long
│ │ │ └── background_colors → Vector < int >
│ │ └── VideoSizeStickerMarkup
│ │ ├── stickerset → InputStickerSet
│ │ │ ├── InputStickerSetEmpty
│ │ │ ├── InputStickerSetID
│ │ │ ├── InputStickerSetShortName
│ │ │ ├── InputStickerSetAnimatedEmoji
│ │ │ ├── InputStickerSetDice
│ │ │ ├── InputStickerSetPremiumGifts
│ │ │ └── InputStickerSetTonGifts
│ │ ├── sticker_id → long
│ │ └── background_colors → Vector < int >
│ └── dc_id → int
├── notify_settings → PeerNotifySettings
│ └── PeerNotifySettings
│ ├── show_previews → Bool (optional)
│ ├── silent → Bool (optional)
│ ├── mute_until → int (optional)
│ ├── ios_sound → NotificationSound (optional)
│ │ ├── NotificationSoundDefault
│ │ ├── NotificationSoundNone
│ │ ├── NotificationSoundLocal
│ │ │ ├── title → string
│ │ │ └── data → string
│ │ └── NotificationSoundRingtone
│ │ └── id → long
│ ├── android_sound → NotificationSound (optional)
│ │ ├── NotificationSoundDefault
│ │ ├── NotificationSoundNone
│ │ ├── NotificationSoundLocal
│ │ │ ├── title → string
│ │ │ └── data → string
│ │ └── NotificationSoundRingtone
│ │ └── id → long
│ ├── other_sound → NotificationSound (optional)
│ │ ├── NotificationSoundDefault
│ │ ├── NotificationSoundNone
│ │ ├── NotificationSoundLocal
│ │ │ ├── title → string
│ │ │ └── data → string
│ │ └── NotificationSoundRingtone
│ │ └── id → long
│ ├── stories_muted → Bool (optional)
│ ├── stories_hide_sender → Bool (optional)
│ ├── stories_ios_sound → NotificationSound (optional)
│ │ ├── NotificationSoundDefault
│ │ ├── NotificationSoundNone
│ │ ├── NotificationSoundLocal
│ │ │ ├── title → string
│ │ │ └── data → string
│ │ └── NotificationSoundRingtone
│ │ └── id → long
│ ├── stories_android_sound → NotificationSound (optional)
│ │ ├── NotificationSoundDefault
│ │ ├── NotificationSoundNone
│ │ ├── NotificationSoundLocal
│ │ │ ├── title → string
│ │ │ └── data → string
│ │ └── NotificationSoundRingtone
│ │ └── id → long
│ └── stories_other_sound → NotificationSound (optional)
│ ├── NotificationSoundNone
│ │ ├── title → string
│ │ └── data → string
│ └── id → long
├── exported_invite → ExportedChatInvite (optional)
│ ├── ChatInviteExported
│ │ ├── revoked → true (optional)
│ │ ├── permanent → true (optional)
│ │ ├── request_needed → true (optional)
│ │ ├── link → string
│ │ ├── admin_id → long
│ │ ├── date → int
│ │ ├── start_date → int (optional)
│ │ ├── expire_date → int (optional)
│ │ ├── usage_limit → int (optional)
│ │ ├── usage → int (optional)
│ │ ├── requested → int (optional)
│ │ ├── subscription_expired → int (optional)
│ │ ├── title → string (optional)
│ │ └── subscription_pricing → StarsSubscriptionPricing (optional)
│ │ └── StarsSubscriptionPricing
│ │ ├── period → int
│ │ └── amount → long
├── bot_info → Vector < BotInfo > (optional)
│ └── BotInfo
│ ├── has_preview_medias → true (optional)
│ ├── user_id → long (optional)
│ ├── description → string (optional)
│ ├── description_photo → Photo (optional)
│ │ ├── PhotoEmpty
│ │ │ └── id → long
│ │ └── Photo
│ │ ├── has_stickers → true (optional)
│ │ ├── id → long
│ │ ├── access_hash → long
│ │ ├── file_reference → bytes
│ │ ├── date → int
│ │ ├── sizes → Vector < PhotoSize >
│ │ │ ├── PhotoSizeEmpty
│ │ │ ├── PhotoSize
│ │ │ ├── PhotoCachedSize
│ │ │ ├── PhotoStrippedSize
│ │ │ ├── PhotoSizeProgressive
│ │ │ └── PhotoPathSize
│ │ ├── video_sizes → Vector < VideoSize > (optional)
│ │ │ ├── VideoSize
│ │ │ ├── VideoSizeEmojiMarkup
│ │ │ └── VideoSizeStickerMarkup
│ │ └── dc_id → int
│ ├── description_document → Document (optional)
│ │ ├── DocumentEmpty
│ │ │ └── id → long
│ │ └── Document
│ │ ├── id → long
│ │ ├── access_hash → long
│ │ ├── file_reference → bytes
│ │ ├── date → int
│ │ ├── mime_type → string
│ │ ├── size → long
│ │ ├── thumbs → Vector < PhotoSize > (optional)
│ │ │ ├── PhotoSizeEmpty
│ │ │ ├── PhotoSize
│ │ │ ├── PhotoCachedSize
│ │ │ ├── PhotoStrippedSize
│ │ │ ├── PhotoSizeProgressive
│ │ │ └── PhotoPathSize
│ │ ├── video_thumbs → Vector < VideoSize > (optional)
│ │ │ ├── VideoSize
│ │ │ ├── VideoSizeEmojiMarkup
│ │ │ └── VideoSizeStickerMarkup
│ │ ├── dc_id → int
│ │ └── attributes → Vector < DocumentAttribute >
│ │ ├── DocumentAttributeImageSize
│ │ ├── DocumentAttributeAnimated
│ │ ├── DocumentAttributeSticker
│ │ ├── DocumentAttributeVideo
│ │ ├── DocumentAttributeAudio
│ │ ├── DocumentAttributeFilename
│ ├── commands → Vector < BotCommand > (optional)
│ │ └── BotCommand
│ │ ├── command → string
│ │ └── description → string
│ ├── menu_button → BotMenuButton (optional)
│ │ ├── BotMenuButtonDefault
│ │ ├── BotMenuButtonCommands
│ │ └── BotMenuButton
│ │ ├── text → string
│ │ └── url → string
│ ├── privacy_policy_url → string (optional)
│ ├── app_settings → BotAppSettings (optional)
│ │ └── BotAppSettings
│ │ ├── placeholder_path → bytes (optional)
│ │ ├── background_color → int (optional)
│ │ ├── background_dark_color → int (optional)
│ │ ├── header_color → int (optional)
│ │ └── header_dark_color → int (optional)
│ └── verifier_settings → BotVerifierSettings (optional)
│ └── BotVerifierSettings
│ ├── can_modify_custom_description → true (optional)
│ ├── icon → long
│ ├── company → string
│ └── custom_description → string (optional)
├── pinned_msg_id → int (optional)
├── folder_id → int (optional)
├── call → InputGroupCall (optional)
│ ├── InputGroupCall
│ │ ├── id → long
│ │ └── access_hash → long
│ ├── InputGroupCallSlug
│ │ └── slug → string
│ └── msg_id → int
├── ttl_period → int (optional)
├── groupcall_default_join_as → Peer (optional)
│ ├── PeerUser
│ │ └── user_id → long
│ ├── PeerChat
│ │ └── chat_id → long
│ └── PeerChannel
│ └── channel_id → long
├── theme_emoticon → string (optional)
├── requests_pending → int (optional)
├── recent_requesters → Vector < long > (optional)
├── available_reactions → ChatReactions (optional)
│ ├── ChatReactionsNone
│ ├── ChatReactionsAll
│ │ └── allow_custom → true (optional)
│ └── ChatReactionsSome
│ └── reactions → Vector < Reaction >
│ ├── ReactionEmpty
│ ├── ReactionEmoji
│ │ └── emoticon → string
│ ├── ReactionCustomEmoji
│ │ └── document_id → long
│ └── ReactionPaid
└── reactions_limit → int (optional)

Example

ChatFull(
    id=0,
    about="text",
    participants=ChatParticipantsForbidden(chat_id=0),
    notify_settings=PeerNotifySettings(),
)