Explorar el Código

Added comment line describing the around parameter

Floretta hace 8 años
padre
commit
dacb0a3a0c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      restapi.go

+ 1 - 0
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)