đ§ unpin_chat_message
Use this method to unpin specific pinned message in a supergroup chat.
âī¸ Parameters
chat_id(intorstr): Unique identifier for the target chat or username of the target channel (in the format @channelusername)message_id(int) (optional): Int: Identifier of a message to unpinbusiness_connection_id(str) (optional): Unique identifier of the business connection on behalf of which the message will be pinned
đ˛ Returns
bool
đ Examples
-đĒĢ Required Parameters
await bot.unpin_chat_message(
chat_id=your_chat_id_here
)
-đ All Parameters
await bot.unpin_chat_message(
chat_id=your_chat_id_here,
message_id=your_message_id_here,
business_connection_id=your_business_connection_id_here
)