UpdatePinnedChannelMessages
- class pyrogram.raw.types.UpdatePinnedChannelMessages
Messages were pinned/unpinned in a channel/supergroup
Constructor of
Update.- Details:
Layer:
223ID:
5BB98608
- Parameters:
channel_id (
int64-bit) – Channel IDmessages (List of
int32-bit) – Messagespts (
int32-bit) – Event count after generationpts_count (
int32-bit) – Number of events that were generatedpinned (
bool, optional) – Whether the messages were pinned or unpinned
TL Schema
updatePinnedChannelMessages#5bb98608
flags:#
pinned:flags.0?true
channel_id:long
messages:Vector<int>
pts:int
pts_count:int
= Update
Parameter Tree
UpdatePinnedChannelMessages
├── pinned →
true (optional)├── channel_id →
long├── messages →
Vector < int >├── pts →
int└── pts_count →
intExample
UpdatePinnedChannelMessages(
channel_id=0,
messages=[0],
pts=0,
pts_count=0,
)