messages.UpdatePinnedMessage
- class pyrogram.raw.functions.messages.UpdatePinnedMessage
Pin a message
- Details:
Layer:
194
ID:
D2AAF7EC
- Parameters:
peer (
InputPeer
) – The peer where to pin the messageid (
int
32-bit
) – The message to pin or unpinsilent (
bool
, optional) – Pin the message silently, without triggering a notificationunpin (
bool
, optional) – Whether the message should unpinned or pinnedpm_oneside (
bool
, optional) – Whether the message should only be pinned on the local side of a one-to-one chat
- Returns: