From dacb0a3a0c6554b3e3a27a59c2ecd1076b5f5b12 Mon Sep 17 00:00:00 2001 From: Floretta Date: Tue, 3 Jan 2017 16:42:27 +0100 Subject: [PATCH] Added comment line describing the around parameter --- restapi.go | 1 + 1 file changed, 1 insertion(+) diff --git a/restapi.go b/restapi.go index 294c979..ea76766 100644 --- a/restapi.go +++ b/restapi.go @@ -1210,6 +1210,7 @@ func (s *Session) ChannelTyping(channelID string) (err error) { // limit : The number messages that can be returned. (max 100) // beforeID : If provided all messages returned will be before 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) { uri := EndpointChannelMessages(channelID)