ChannelAdminLogEventActionCreateTopic

class pyrogram.raw.types.ChannelAdminLogEventActionCreateTopic

A forum topic was created

Constructor of ChannelAdminLogEventAction.

Details:
  • Layer: 223

  • ID: 58707D28

Parameters:

topic (ForumTopic) – The forum topic that was created

TL Schema

channelAdminLogEventActionCreateTopic#58707d28
topic:ForumTopic

= ChannelAdminLogEventAction

Parameter Tree

ChannelAdminLogEventActionCreateTopic
└── topicForumTopic
│ └── idint
└── ForumTopic
├── mytrue (optional)
├── closedtrue (optional)
├── pinnedtrue (optional)
├── shorttrue (optional)
├── hiddentrue (optional)
├── title_missingtrue (optional)
├── idint
├── dateint
├── peerPeer
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
├── titlestring
├── icon_colorint
├── icon_emoji_idlong (optional)
├── top_messageint
├── read_inbox_max_idint
├── read_outbox_max_idint
├── unread_countint
├── unread_mentions_countint
├── unread_reactions_countint
├── from_idPeer
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
├── notify_settingsPeerNotifySettings
│ └── PeerNotifySettings
│ ├── show_previewsBool (optional)
│ ├── silentBool (optional)
│ ├── mute_untilint (optional)
│ ├── ios_soundNotificationSound (optional)
│ │ ├── NotificationSoundDefault
│ │ ├── NotificationSoundNone
│ │ ├── NotificationSoundLocal
│ │ └── NotificationSoundRingtone
│ ├── android_soundNotificationSound (optional)
│ │ ├── NotificationSoundDefault
│ │ ├── NotificationSoundNone
│ │ ├── NotificationSoundLocal
│ │ └── NotificationSoundRingtone
│ ├── other_soundNotificationSound (optional)
│ │ ├── NotificationSoundDefault
│ │ ├── NotificationSoundNone
│ │ ├── NotificationSoundLocal
│ │ └── NotificationSoundRingtone
│ ├── stories_mutedBool (optional)
│ ├── stories_hide_senderBool (optional)
│ ├── stories_ios_soundNotificationSound (optional)
│ │ ├── NotificationSoundDefault
│ │ ├── NotificationSoundNone
│ │ ├── NotificationSoundLocal
│ │ └── NotificationSoundRingtone
│ ├── stories_android_soundNotificationSound (optional)
│ │ ├── NotificationSoundDefault
│ │ ├── NotificationSoundNone
│ │ ├── NotificationSoundLocal
│ │ └── NotificationSoundRingtone
│ └── stories_other_soundNotificationSound (optional)
│ ├── NotificationSoundNone
└── draftDraftMessage (optional)
│ └── dateint (optional)
└── DraftMessage
├── no_webpagetrue (optional)
├── invert_mediatrue (optional)
├── reply_toInputReplyTo (optional)
│ ├── InputReplyToMessage
│ ├── InputReplyToStory
│ └── InputReplyToMonoForum
├── messagestring
├── entitiesVector < MessageEntity > (optional)
│ ├── MessageEntityUnknown
│ ├── MessageEntityMention
│ ├── MessageEntityHashtag
│ ├── MessageEntityUrl
│ ├── MessageEntityEmail
│ ├── MessageEntityBold
│ ├── MessageEntityItalic
│ ├── MessageEntityCode
│ ├── MessageEntityPre
│ ├── MessageEntityTextUrl
│ ├── MessageEntityPhone
│ ├── MessageEntityCashtag
│ ├── MessageEntityStrike
│ ├── MessageEntityBankCard
│ ├── MessageEntitySpoiler
├── mediaInputMedia (optional)
│ ├── InputMediaEmpty
│ ├── InputMediaPhoto
│ ├── InputMediaGeoPoint
│ ├── InputMediaContact
│ ├── InputMediaDocument
│ ├── InputMediaVenue
│ ├── InputMediaGame
│ ├── InputMediaInvoice
│ ├── InputMediaGeoLive
│ ├── InputMediaPoll
│ ├── InputMediaDice
│ ├── InputMediaStory
│ ├── InputMediaWebPage
│ ├── InputMediaPaidMedia
│ ├── InputMediaTodo
│ └── InputMediaStakeDice
├── dateint
├── effectlong (optional)
└── suggested_postSuggestedPost (optional)
└── SuggestedPost

Example

ChannelAdminLogEventActionCreateTopic(
    topic=ForumTopicDeleted(id=0),
)