channel

channel#1c32b11c flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true noforwards:flags.27?true join_to_send:flags.28?true join_request:flags.29?true forum:flags.30?true flags2:# stories_hidden:flags2.1?true stories_hidden_min:flags2.2?true stories_unavailable:flags2.3?true signature_profiles:flags2.12?true autotranslation:flags2.15?true broadcast_messages_allowed:flags2.16?true monoforum:flags2.17?true forum_tabs:flags2.19?true id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int restriction_reason:flags.9?Vector<RestrictionReason> admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int usernames:flags2.0?Vector<Username> stories_max_id:flags2.4?RecentStory color:flags2.7?PeerColor profile_color:flags2.8?PeerColor emoji_status:flags2.9?EmojiStatus level:flags2.10?int subscription_until_date:flags2.11?int bot_verification_icon:flags2.13?long send_paid_messages_stars:flags2.14?long linked_monoforum_id:flags2.18?long = Chat;

Параметры

ПолеТипОписание
flags # Битовая маска: поле вида flags.N?T присутствует, только если поднят бит N.
creator flags.0?true
left flags.2?true
broadcast flags.5?true
verified flags.7?true
megagroup flags.8?true
restricted flags.9?true
signatures flags.11?true
min flags.12?true
scam flags.19?true
has_link flags.20?true
has_geo flags.21?true
slowmode_enabled flags.22?true
call_active flags.23?true
call_not_empty flags.24?true
fake flags.25?true
gigagroup flags.26?true
noforwards flags.27?true
join_to_send flags.28?true
join_request flags.29?true
forum flags.30?true
flags2 # Вторая битовая маска — нужна, когда полей больше 32.
stories_hidden flags2.1?true
stories_hidden_min flags2.2?true
stories_unavailable flags2.3?true
signature_profiles flags2.12?true
autotranslation flags2.15?true
broadcast_messages_allowed flags2.16?true
monoforum flags2.17?true
forum_tabs flags2.19?true
id long Идентификатор объекта — что именно, определяет тип поля.
access_hash flags.13?long Хеш доступа: без него сервер не признаёт идентификатор. Приходит вместе с объектом и к нему привязан.
title string Название.
username flags.6?string Имя пользователя без символа @.
photo ChatPhoto Фотография.
date int Момент времени, unix-время в секундах.
restriction_reason flags.9?Vector<RestrictionReason>
admin_rights flags.14?ChatAdminRights
banned_rights flags.15?ChatBannedRights
default_banned_rights flags.18?ChatBannedRights
participants_count flags.17?int
usernames flags2.0?Vector<Username>
stories_max_id flags2.4?RecentStory
color flags2.7?PeerColor
profile_color flags2.8?PeerColor
emoji_status flags2.9?EmojiStatus
level flags2.10?int
subscription_until_date flags2.11?int
bot_verification_icon flags2.13?long
send_paid_messages_stars flags2.14?long
linked_monoforum_id flags2.18?long

Тип

Chat

Связанные страницы

Типы, которые здесь встречаются