code: async def pin_message(self, message_id: int, disable_notification: bool = False):
          
          return await self.bot.pin_chat_message(self.id, message_id, disable_notification)
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 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`