Update restapi.go

This commit is contained in:
vim2meta 2017-11-19 10:13:04 -05:00 committed by GitHub
parent d4e2b50ce4
commit 74a0038b63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1478,7 +1478,7 @@ func (s *Session) ChannelMessageDelete(channelID, messageID string) (err error)
}
// ChannelMessagesBulkDelete bulk deletes the messages from the channel for the provided messageIDs.
// If only one messageID is in the slice call channelMessageDelete funciton.
// If only one messageID is in the slice call channelMessageDelete function.
// If the slice is empty do nothing.
// channelID : The ID of the channel for the messages to delete.
// messages : The IDs of the messages to be deleted. A slice of string IDs. A maximum of 100 messages.