Closed adambabik closed 4 years ago
These changes implement logic of validating and handling new updates to the group.
Each update is verified, the events are validated and recomputed, and the chat is updated.
This PR contains one backward incompatible change. The signature of Messenger.Send changes to:
Messenger.Send
Send(ctx context.Context, chatID string, data []byte) ([][]byte, error)
because now Send can send multiple messages if a group chat has more than 1 member.
Send
These changes implement logic of validating and handling new updates to the group.
Each update is verified, the events are validated and recomputed, and the chat is updated.
This PR contains one backward incompatible change. The signature of
Messenger.Send
changes to:because now
Send
can send multiple messages if a group chat has more than 1 member.Limitations