set_business_message_is_pinned


Description:

public async Ok set_business_message_is_pinned (string business_connection_id, int64 chat_id, int64 message_id, bool is_pinned) throws TDLibError

Pins or unpins a message sent on behalf of a business account; for bots only

Parameters:

business_connection_id

Unique identifier of business connection on behalf of which the message was sent

chat_id

The chat the message belongs to

message_id

Identifier of the message

is_pinned

Pass true to pin the message, pass false to unpin it