Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: new notification subtype (group creation) #2406

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gekkedev
Copy link
Contributor

@gekkedev gekkedev commented Nov 2, 2024

I received this new GP2 event subtype shortly/immediately after joining a group though an invitation link, so I suspect it does not actually refer to the group's initial creation:

{
  id: 'false_[REDACTED][email protected]_[REDACTED]create_[REDACTED]',
  viewed: false,
  body: 'Lorem ipsum',
  type: 'gp2',
  subtype: 'create',
  t: 1570181234,
  from: '[REDACTED][email protected]',
  isNewMsg: true,
  star: false,
  kicNotified: false,
  recvFresh: true,
  isFromTemplate: false,
  pollInvalidated: false,
  isSentCagPollCreation: false,
  latestEditMsgKey: null,
  latestEditSenderTimestampMs: null,
  recipients: [],
  mentionedJidList: [],
  groupMentions: [],
  isEventCanceled: false,
  eventInvalidated: false,
  isVcardOverMmsDocument: false,
  isForwarded: false,
  hasReaction: false,
  productHeaderImageRejected: false,
  lastPlaybackProgress: 0,
  isDynamicReplyButtonsMsg: false,
  isCarouselCard: false,
  parentMsgId: null,
  isMdHistoryMsg: false,
  stickerSentTs: 0,
  isAvatar: false,
  lastUpdateFromServerTs: 0,
  invokedBotWid: null,
  bizBotType: null,
  botResponseTargetId: null,
  botPluginType: null,
  botPluginReferenceIndex: null,
  botPluginSearchProvider: null,
  botPluginSearchUrl: null,
  botPluginSearchQuery: null,
  botPluginMaybeParent: false,
  botReelPluginThumbnailCdnUrl: null,
  botMsgBodyType: null,
  requiresDirectConnection: null,
  bizContentPlaceholderType: null,
  hostedBizEncStateMismatch: false,
  senderOrRecipientAccountTypeHosted: false,
  placeholderCreatedWhenAccountIsHosted: false,
  chatId: '[REDACTED][email protected]',
  fromMe: false,
  sender: null,
  timestamp: 1570181234,
  content: 'Lorem ipsum',
  isGroupMsg: true,
  mediaData: {}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant