MonoForumDialog
- class pyrogram.raw.types.MonoForumDialog
Represents a monoforum topic ».
Constructor of
SavedDialog.- Details:
Layer:
223ID:
64407EA7
- Parameters:
peer (
Peer) – The peer associated to the topic, AKA the topic ID.top_message (
int32-bit) – The latest message IDread_inbox_max_id (
int32-bit) – Position up to which all incoming messages are read.read_outbox_max_id (
int32-bit) – Position up to which all outgoing messages are read.unread_count (
int32-bit) – Number of unread messages.unread_reactions_count (
int32-bit) – Number of unread reactions.unread_mark (
bool, optional) – Whether this topic has a manually set (with messages.markDialogUnread) unread mark.nopaid_messages_exception (
bool, optional) – If set, an admin has exempted this peer from payment to send messages using account.toggleNoPaidMessagesException.draft (
DraftMessage, optional) – A pending message draft.
TL Schema
monoForumDialog#64407ea7
flags:#
unread_mark:flags.3?true
nopaid_messages_exception:flags.4?true
peer:Peer
top_message:int
read_inbox_max_id:int
read_outbox_max_id:int
unread_count:int
unread_reactions_count:int
draft:flags.1?DraftMessage
= SavedDialog
Parameter Tree
true (optional)true (optional)PeerPeerUserlongPeerChatlongPeerChannellongintintintintintDraftMessage (optional)int (optional)DraftMessagetrue (optional)true (optional)InputReplyTo (optional)InputReplyToMessageintint (optional)InputPeer (optional)InputPeerEmptyInputPeerSelfInputPeerChatInputPeerUserInputPeerChannelInputPeerUserFromMessageInputPeerChannelFromMessagestring (optional)Vector < MessageEntity > (optional)MessageEntityUnknownMessageEntityMentionMessageEntityHashtagMessageEntityBotCommandMessageEntityUrlMessageEntityEmailMessageEntityBoldMessageEntityItalicMessageEntityCodeMessageEntityPreMessageEntityTextUrlMessageEntityMentionNameInputMessageEntityMentionNameMessageEntityPhoneMessageEntityCashtagMessageEntityUnderlineMessageEntityStrikeMessageEntityBankCardMessageEntitySpoilerMessageEntityCustomEmojiMessageEntityBlockquoteMessageEntityFormattedDateint (optional)InputPeer (optional)InputPeerEmptyInputPeerSelfInputPeerChatInputPeerUserInputPeerChannelInputPeerUserFromMessageInputPeerChannelFromMessageint (optional)InputReplyToStoryInputPeerInputPeerEmptyInputPeerSelfInputPeerChatInputPeerUserInputPeerChannelInputPeerUserFromMessageInputPeerChannelFromMessageintInputReplyToMonoForumInputPeerInputPeerEmptyInputPeerSelfInputPeerChatInputPeerUserInputPeerChannelInputPeerUserFromMessagestringVector < MessageEntity > (optional)MessageEntityUnknownintintMessageEntityMentionintintMessageEntityHashtagintintMessageEntityBotCommandintintMessageEntityUrlintintMessageEntityEmailintintMessageEntityBoldintintMessageEntityItalicintintMessageEntityCodeintintMessageEntityPreintintstringMessageEntityTextUrlintintstringMessageEntityMentionNameintintlongintintInputUserInputUserEmptyInputUserSelfInputUserInputUserFromMessageMessageEntityPhoneintintMessageEntityCashtagintintMessageEntityUnderlineintintMessageEntityStrikeintintMessageEntityBankCardintintMessageEntitySpoilerintintMessageEntityCustomEmojiintintlongMessageEntityBlockquotetrue (optional)intinttrue (optional)true (optional)true (optional)true (optional)true (optional)true (optional)intintintInputMedia (optional)InputMediaEmptyInputMediaUploadedPhotoInputMediaPhotoInputMediaGeoPointInputMediaContactInputMediaDocumentInputMediaVenueInputMediaPhotoExternalInputMediaGameInputMediaInvoiceInputMediaGeoLiveInputMediaPollInputMediaDiceInputMediaStoryInputMediaWebPageInputMediaPaidMediaInputMediaTodoInputMediaStakeDiceintlong (optional)SuggestedPost (optional)SuggestedPosttrue (optional)true (optional)StarsAmount (optional)StarsAmountStarsTonAmountint (optional)Example
MonoForumDialog(
peer=PeerUser(user_id=0),
top_message=0,
read_inbox_max_id=0,
read_outbox_max_id=0,
unread_count=0,
unread_reactions_count=0,
)