Skip to content
Snippets Groups Projects

Add group chat MessageReceive documentation

Merged Josh Brooks requested to merge XX-4193/GroupChatMessageCallback into release

This fixes the issue in the group chat message processor. The crux of the issue is that we were returning to front end via the callback a JSON marshalled Go structure, and were not making this clear through documentation.

type MessageReceive struct {
	GroupID   *id.ID
	ID        group.MessageID
	Payload   []byte
	SenderID  *id.ID
	Timestamp time.Time
}

This MR creates a bindings layer equivalent and returns a JSON marshalled version of that through the callback, and attempts to make it clear by updating documentation.

Edited by Josh Brooks

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading