code: async def pins(self):
          
  
          channel = await self._get_channel()
          state = self._state
          data = await state.http.pins_from(channel.id)
          return [state.create_message(channel=channel, data=m) for m in data]
docs: |coro|
  
          Returns a :class:`list` of :class:`.Message` that are currently pinned.
  
          Raises
          -------
          :exc:`.HTTPException`
              Retrieving the pinned messages failed.