diff --git a/bindings/channels.go b/bindings/channels.go index 67bf7f9947fd4d03ae2cb20ebe79aa3a2c834ddc..e3e8b3a1dbdcefc5a38892eedd0823089f4ff679 100644 --- a/bindings/channels.go +++ b/bindings/channels.go @@ -777,9 +777,9 @@ type EventModel interface { // Sent | 0 // Delivered | 1 // Failed | 2 - ReceiveMessage(channelID []byte, messageID []byte, - senderUsername string, text string, timestamp int64, - lease int64, roundId int64, status int64) + ReceiveMessage(channelID, messageID []byte, + senderUsername, text string, + timestamp, lease, roundId, status int64) // ReceiveReply is called whenever a message is received which is a reply // on a given channel. It may be called multiple times on the same message, @@ -801,10 +801,9 @@ type EventModel interface { // Sent | 0 // Delivered | 1 // Failed | 2 - ReceiveReply(channelID []byte, messageID []byte, - reactionTo []byte, senderUsername string, - text string, timestamp int64, lease int64, - roundId int64, status int64) + ReceiveReply(channelID, messageID, reactionTo []byte, + senderUsername, text string, + timestamp, lease, roundId, status int64) // ReceiveReaction is called whenever a reaction to a message is received // on a given channel. It may be called multiple times on the same reaction, @@ -826,10 +825,9 @@ type EventModel interface { // Sent | 0 // Delivered | 1 // Failed | 2 - ReceiveReaction(channelID []byte, messageID []byte, - reactionTo []byte, senderUsername string, - reaction string, timestamp int64, lease int64, - roundId int64, status int64) + ReceiveReaction(channelID, messageID, reactionTo []byte, + senderUsername, reaction string, + timestamp, lease, roundId, status int64) // UpdateSentStatus is called whenever the sent status of a message // has changed.