Message.unpin()

Message.unpin()

Bound method unpin of Message.

Use as a shortcut for:

client.unpin_chat_message(
    chat_id=message.chat.id,
    message_id=message_id
)

Example

message.unpin()
Returns

True on success.

Raises

RPCError – In case of a Telegram RPC error.