func GetPinnedMessages(client httd.Getter, channelID Snowflake) (ret []*Message, err error) {
	_, body, err := client.Get(&httd.Request{
		Ratelimiter: ratelimitChannelPins(channelID),
		Endpoint:    endpoint.ChannelPins(channelID),
	})
	if err != nil {
		return
	}

	err = unmarshal(body, &ret)
	return
}
// GetPinnedMessages [GET]  Returns all pinned messages in the channel as an array of message objects.
// Endpoint                 /channels/{channel.id}/pins
// Rate limiter [MAJOR]     /channels/{channel.id}/pins
// Discord documentation    https://discordapp.com/developers/docs/resources/channel#get-pinned-messages
// Reviewed                 2018-06-10
// Comment                  -
GetPinnedMessages [GET]  Returns all pinned messages in the channel as an array of message objects.
// GetPinnedMessages [ GET ] Returns all pinned messages in the channel as an array of message objects . // Endpoint / channels / { channel . id } / pins // Rate limiter [ MAJOR ] / channels / { channel . id } / pins // Discord documentation https : // discordapp . com / developers / docs / resources / channel#get - pinned - messages // Reviewed 2018 - 06 - 10 // Comment -
func GetPinnedMessages(client httd.Getter, channelID Snowflake) (ret []*Message, err error) {
	_, body, err := client.Get(&httd.Request{
		Ratelimiter: ratelimitChannelPins(channelID),
		Endpoint:    endpoint.ChannelPins(channelID),
	})
	if err != nil {
		return
	}
	err = unmarshal(body, &ret)
	return
}
func GetPinnedMessages ( client httd . Getter , channelID Snowflake ) ( ret [ ] * Message , err error ) { _ , body , err := client . Get ( & httd . Request { Ratelimiter : ratelimitChannelPins ( channelID ) , Endpoint : endpoint . ChannelPins ( channelID ) , } ) if err != nil { return } err = unmarshal ( body , & ret ) return }
GetPinnedMessages [GET]  Returns all pinned messages in the channel as an array of message objects.
GetPinnedMessages [ GET ] Returns all pinned messages in the channel as an array of message objects .