func GetChannelMessage(client httd.Getter, channelID, messageID Snowflake) (ret *Message, err error) {
	if channelID.Empty() {
		err = errors.New("channelID must be set to get channel messages")
		return
	}
	if messageID.Empty() {
		err = errors.New("messageID must be set to get a specific message from a channel")
		return
	}

	_, body, err := client.Get(&httd.Request{
		Ratelimiter: ratelimitChannelMessages(channelID),
		Endpoint:    endpoint.ChannelMessage(channelID, messageID),
	})
	if err != nil {
		return
	}

	err = unmarshal(body, &ret)
	return
}
// GetChannelMessage [GET] Returns a specific message in the channel. If operating on a guild channel,
//                         this endpoints requires the 'READ_MESSAGE_HISTORY' permission to be present
//                         on the current user. Returns a message object on success.
// Endpoint                /channels/{channel.id}/messages/{message.id}
// Rate limiter [MAJOR]    /channels/{channel.id}/messages
// Discord documentation   https://discordapp.com/developers/docs/resources/channel#get-channel-message
// Reviewed                2018-06-10
// Comment                 -
GetChannelMessage [GET] Returns a specific message in the channel. If operating on a guild channel,
this endpoints requires the 'READ_MESSAGE_HISTORY' permission to be present
on the current user. Returns a message object on success.
// GetChannelMessage [ GET ] Returns a specific message in the channel . If operating on a guild channel // this endpoints requires the ' READ_MESSAGE_HISTORY ' permission to be present // on the current user . Returns a message object on success . // Endpoint / channels / { channel . id } / messages / { message . id } // Rate limiter [ MAJOR ] / channels / { channel . id } / messages // Discord documentation https : // discordapp . com / developers / docs / resources / channel#get - channel - message // Reviewed 2018 - 06 - 10 // Comment -
func GetChannelMessage(client httd.Getter, channelID, messageID Snowflake) (ret *Message, err error) {
	if channelID.Empty() {
		err = errors.New("channelID must be set to get channel messages")
		return
	}
	if messageID.Empty() {
		err = errors.New("messageID must be set to get a specific message from a channel")
		return
	}
	_, body, err := client.Get(&httd.Request{
		Ratelimiter: ratelimitChannelMessages(channelID),
		Endpoint:    endpoint.ChannelMessage(channelID, messageID),
	})
	if err != nil {
		return
	}
	err = unmarshal(body, &ret)
	return
}
func GetChannelMessage ( client httd . Getter , channelID , messageID Snowflake ) ( ret * Message , err error ) { if channelID . Empty ( ) { err = errors . New ( " " ) return } if messageID . Empty ( ) { err = errors . New ( " " ) return } _ , body , err := client . Get ( & httd . Request { Ratelimiter : ratelimitChannelMessages ( channelID ) , Endpoint : endpoint . ChannelMessage ( channelID , messageID ) , } ) if err != nil { return } err = unmarshal ( body , & ret ) return }
GetChannelMessage [GET] Returns a specific message in the channel.
GetChannelMessage [ GET ] Returns a specific message in the channel .