lib/tdlib/client_methods.rb
def unpin_chat_message(chat_id:, message_id:)
    broadcast('@type'      => 'unpinChatMessage',
              'chat_id'    => chat_id,
              'message_id' => message_id)
  end
# Removes a pinned message from a chat; requires can_pin_messages rights in the group or can_edit_messages rights in
#   the channel.
#
# @param chat_id [Integer] Identifier of the chat.
# @param message_id [Integer] Identifier of the removed pinned message.
# @return [TD::Types::Ok]
Removes a pinned message from a chat; requires can_pin_messages rights in the group or can_edit_messages rights in
the channel.
Removes a pinned message from a chat ; requires can_pin_messages rights in the group or can_edit_messages rights in the channel .
def unpin_chat_message(chat_id:, message_id:)
    broadcast('@type'      => 'unpinChatMessage',
              'chat_id'    => chat_id,
              'message_id' => message_id)
  end
def unpin_chat_message ( chat_id : , message_id : ) broadcast ( '@type' => 'unpinChatMessage' , 'chat_id' => chat_id , 'message_id' => message_id ) end
Removes a pinned message from a chat; requires can_pin_messages rights in the group or can_edit_messages rights in
the channel.
Removes a pinned message from a chat ; requires can_pin_messages rights in the group or can_edit_messages rights in the channel .
None
TD::Types::Ok
chat_id
Identifier of the chat.
Identifier of the chat .
message_id
Identifier of the removed pinned message.
Identifier of the removed pinned message .