ChannelAdminLogEventActionPinTopic

class pyrogram.raw.types.ChannelAdminLogEventActionPinTopic

A forum topic was pinned or unpinned

Constructor of ChannelAdminLogEventAction.

Details:
  • Layer: 227

  • ID: 5D8D353B

Parameters:
  • prev_topic (ForumTopic, optional) – Previous topic information

  • new_topic (ForumTopic, optional) – New topic information

TL Schema

channelAdminLogEventActionPinTopic#5d8d353b
flags:#
prev_topic:flags.0?ForumTopic
new_topic:flags.1?ForumTopic

= ChannelAdminLogEventAction

Parameter Tree

ChannelAdminLogEventActionPinTopic
├── prev_topic → ForumTopic (optional)
│ ├── ForumTopicDeleted
│ │ └── id → int
│ └── ForumTopic
│ ├── my → true (optional)
│ ├── closed → true (optional)
│ ├── pinned → true (optional)
│ ├── short → true (optional)
│ ├── hidden → true (optional)
│ ├── title_missing → true (optional)
│ ├── id → int
│ ├── date → int
│ ├── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── title → string
│ ├── icon_color → int
│ ├── icon_emoji_id → long (optional)
│ ├── top_message → int
│ ├── read_inbox_max_id → int
│ ├── read_outbox_max_id → int
│ ├── unread_count → int
│ ├── unread_mentions_count → int
│ ├── unread_reactions_count → int
│ ├── unread_poll_votes_count → int
│ ├── from_id → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── notify_settings → PeerNotifySettings
│ │ └── PeerNotifySettings
│ │ ├── show_previews → Bool (optional)
│ │ ├── silent → Bool (optional)
│ │ ├── mute_until → int (optional)
│ │ ├── ios_sound → NotificationSound (optional)
│ │ │ ├── NotificationSoundDefault
│ │ │ ├── NotificationSoundNone
│ │ │ ├── NotificationSoundLocal
│ │ │ └── NotificationSoundRingtone
│ │ ├── android_sound → NotificationSound (optional)
│ │ │ ├── NotificationSoundDefault
│ │ │ ├── NotificationSoundNone
│ │ │ ├── NotificationSoundLocal
│ │ │ └── NotificationSoundRingtone
│ │ ├── other_sound → NotificationSound (optional)
│ │ │ ├── NotificationSoundDefault
│ │ │ ├── NotificationSoundNone
│ │ │ ├── NotificationSoundLocal
│ │ │ └── NotificationSoundRingtone
│ │ ├── stories_muted → Bool (optional)
│ │ ├── stories_hide_sender → Bool (optional)
│ │ ├── stories_ios_sound → NotificationSound (optional)
│ │ │ ├── NotificationSoundDefault
│ │ │ ├── NotificationSoundNone
│ │ │ ├── NotificationSoundLocal
│ │ │ └── NotificationSoundRingtone
│ │ ├── stories_android_sound → NotificationSound (optional)
│ │ │ ├── NotificationSoundDefault
│ │ │ ├── NotificationSoundNone
│ │ │ ├── NotificationSoundLocal
│ │ │ └── NotificationSoundRingtone
│ │ └── stories_other_sound → NotificationSound (optional)
│ │ ├── NotificationSoundDefault
│ │ ├── NotificationSoundNone
│ │ ├── NotificationSoundLocal
│ │ └── NotificationSoundRingtone
│ └── draft → DraftMessage (optional)
│ ├── DraftMessageEmpty
│ │ └── date → int (optional)
│ └── DraftMessage
│ ├── no_webpage → true (optional)
│ ├── invert_media → true (optional)
│ ├── reply_to → InputReplyTo (optional)
│ │ ├── InputReplyToMessage
│ │ ├── InputReplyToStory
│ │ └── InputReplyToMonoForum
│ ├── message → string
│ ├── entities → Vector < MessageEntity > (optional)
│ │ ├── MessageEntityUnknown
│ │ ├── MessageEntityMention
│ │ ├── MessageEntityHashtag
│ │ ├── MessageEntityBotCommand
│ │ ├── MessageEntityUrl
│ │ ├── MessageEntityEmail
│ │ ├── MessageEntityBold
│ │ ├── MessageEntityItalic
│ │ ├── MessageEntityCode
│ │ ├── MessageEntityPre
│ │ ├── MessageEntityTextUrl
│ │ ├── MessageEntityMentionName
│ │ ├── MessageEntityPhone
│ │ ├── MessageEntityCashtag
│ │ ├── MessageEntityUnderline
│ │ ├── MessageEntityStrike
│ │ ├── MessageEntityBankCard
│ │ ├── MessageEntitySpoiler
│ │ ├── MessageEntityCustomEmoji
│ │ ├── MessageEntityBlockquote
│ │ ├── MessageEntityFormattedDate
│ │ ├── MessageEntityDiffInsert
│ │ ├── MessageEntityDiffReplace
│ │ └── MessageEntityDiffDelete
│ ├── media → InputMedia (optional)
│ │ ├── InputMediaEmpty
│ │ ├── InputMediaUploadedPhoto
│ │ ├── InputMediaPhoto
│ │ ├── InputMediaGeoPoint
│ │ ├── InputMediaContact
│ │ ├── InputMediaUploadedDocument
│ │ ├── InputMediaDocument
│ │ ├── InputMediaVenue
│ │ ├── InputMediaPhotoExternal
│ │ ├── InputMediaDocumentExternal
│ │ ├── InputMediaGame
│ │ ├── InputMediaInvoice
│ │ ├── InputMediaGeoLive
│ │ ├── InputMediaPoll
│ │ ├── InputMediaDice
│ │ ├── InputMediaStory
│ │ ├── InputMediaWebPage
│ │ ├── InputMediaPaidMedia
│ │ ├── InputMediaTodo
│ │ └── InputMediaStakeDice
│ ├── date → int
│ ├── effect → long (optional)
│ ├── suggested_post → SuggestedPost (optional)
│ │ └── SuggestedPost
│ └── rich_message → RichMessage (optional)
│ └── RichMessage
└── new_topic → ForumTopic (optional)
│ └── id → int
└── ForumTopic
├── my → true (optional)
├── closed → true (optional)
├── pinned → true (optional)
├── short → true (optional)
├── hidden → true (optional)
├── title_missing → true (optional)
├── id → int
├── date → int
├── peer → Peer
│ ├── PeerUser
│ │ └── user_id → long
│ ├── PeerChat
│ │ └── chat_id → long
│ └── PeerChannel
│ └── channel_id → long
├── title → string
├── icon_color → int
├── icon_emoji_id → long (optional)
├── top_message → int
├── read_inbox_max_id → int
├── read_outbox_max_id → int
├── unread_count → int
├── unread_mentions_count → int
├── unread_reactions_count → int
├── unread_poll_votes_count → int
├── from_id → Peer
│ ├── PeerUser
│ │ └── user_id → long
│ ├── PeerChat
│ │ └── chat_id → long
│ └── PeerChannel
│ └── channel_id → long
├── notify_settings → PeerNotifySettings
│ └── PeerNotifySettings
│ ├── show_previews → Bool (optional)
│ ├── silent → Bool (optional)
│ ├── mute_until → int (optional)
│ ├── ios_sound → NotificationSound (optional)
│ │ ├── NotificationSoundDefault
│ │ ├── NotificationSoundNone
│ │ ├── NotificationSoundLocal
│ │ └── NotificationSoundRingtone
│ ├── android_sound → NotificationSound (optional)
│ │ ├── NotificationSoundDefault
│ │ ├── NotificationSoundNone
│ │ ├── NotificationSoundLocal
│ │ └── NotificationSoundRingtone
│ ├── other_sound → NotificationSound (optional)
│ │ ├── NotificationSoundDefault
│ │ ├── NotificationSoundNone
│ │ ├── NotificationSoundLocal
│ │ └── NotificationSoundRingtone
│ ├── stories_muted → Bool (optional)
│ ├── stories_hide_sender → Bool (optional)
│ ├── stories_ios_sound → NotificationSound (optional)
│ │ ├── NotificationSoundDefault
│ │ ├── NotificationSoundNone
│ │ ├── NotificationSoundLocal
│ │ └── NotificationSoundRingtone
│ ├── stories_android_sound → NotificationSound (optional)
│ │ ├── NotificationSoundDefault
│ │ ├── NotificationSoundNone
│ │ ├── NotificationSoundLocal
│ │ └── NotificationSoundRingtone
│ └── stories_other_sound → NotificationSound (optional)
│ ├── NotificationSoundNone
└── draft → DraftMessage (optional)
│ └── date → int (optional)
└── DraftMessage
├── no_webpage → true (optional)
├── invert_media → true (optional)
├── reply_to → InputReplyTo (optional)
│ ├── InputReplyToMessage
│ ├── InputReplyToStory
│ └── InputReplyToMonoForum
├── message → string
├── entities → Vector < MessageEntity > (optional)
│ ├── MessageEntityUnknown
│ ├── MessageEntityMention
│ ├── MessageEntityHashtag
│ ├── MessageEntityUrl
│ ├── MessageEntityEmail
│ ├── MessageEntityBold
│ ├── MessageEntityItalic
│ ├── MessageEntityCode
│ ├── MessageEntityPre
│ ├── MessageEntityTextUrl
│ ├── MessageEntityPhone
│ ├── MessageEntityCashtag
│ ├── MessageEntityStrike
│ ├── MessageEntityBankCard
│ ├── MessageEntitySpoiler
├── media → InputMedia (optional)
│ ├── InputMediaEmpty
│ ├── InputMediaPhoto
│ ├── InputMediaGeoPoint
│ ├── InputMediaContact
│ ├── InputMediaDocument
│ ├── InputMediaVenue
│ ├── InputMediaGame
│ ├── InputMediaInvoice
│ ├── InputMediaGeoLive
│ ├── InputMediaPoll
│ ├── InputMediaDice
│ ├── InputMediaStory
│ ├── InputMediaWebPage
│ ├── InputMediaPaidMedia
│ ├── InputMediaTodo
│ └── InputMediaStakeDice
├── date → int
├── effect → long (optional)
├── suggested_post → SuggestedPost (optional)
│ └── SuggestedPost
└── rich_message → RichMessage (optional)
└── RichMessage

Example

ChannelAdminLogEventActionPinTopic(
)