forked from pothtonswer/discordmuffin
Added comment line describing the around parameter
This commit is contained in:
parent
c4c9502072
commit
dacb0a3a0c
1 changed files with 1 additions and 0 deletions
|
@ -1210,6 +1210,7 @@ func (s *Session) ChannelTyping(channelID string) (err error) {
|
||||||
// limit : The number messages that can be returned. (max 100)
|
// limit : The number messages that can be returned. (max 100)
|
||||||
// beforeID : If provided all messages returned will be before given ID.
|
// beforeID : If provided all messages returned will be before given ID.
|
||||||
// afterID : If provided all messages returned will be after given ID.
|
// afterID : If provided all messages returned will be after given ID.
|
||||||
|
// aroundID : If provided all messages returned will be around given ID.
|
||||||
func (s *Session) ChannelMessages(channelID string, limit int, beforeID, afterID, aroundID string) (st []*Message, err error) {
|
func (s *Session) ChannelMessages(channelID string, limit int, beforeID, afterID, aroundID string) (st []*Message, err error) {
|
||||||
|
|
||||||
uri := EndpointChannelMessages(channelID)
|
uri := EndpointChannelMessages(channelID)
|
||||||
|
|
Loading…
Reference in a new issue