code: async def pin_chat_message(self, chat_id: typing.Union[base.Integer, base.String], message_id: base.Integer,
                                 disable_notification: typing.Union[base.Boolean, None] = None) -> base.Boolean:
          
          payload = generate_payload(**locals())
  
          result = await self.request(api.Methods.PIN_CHAT_MESSAGE, payload)
          return result
docs: Use this method to pin a message in a supergroup.
          The bot must be an administrator in the chat for this to work and must have the appropriate admin rights.
  
          Source: https://core.telegram.org/bots/api#pinchatmessage
  
          :param chat_id: Unique identifier for the target chat or username of the target supergroup
          :type chat_id: :obj:`typing.Union[base.Integer, base.String]`
          :param message_id: Identifier of a message to pin
          :type message_id: :obj:`base.Integer`
          :param disable_notification: Pass True, if it is not necessary to send a notification to
              all group members about the new pinned message
          :type disable_notification: :obj:`typing.Union[base.Boolean, None]`
          :return: Returns True on success
          :rtype: :obj:`base.Boolean`