fix: addition and improvement of enumerable values on types (#3740)

* Update index.d.ts

* Update Constants.js

* fix

* `code_received` is missing too

* album message types

* add to index.d.ts

* fix types error
This commit is contained in:
RendyCraft047 2025-11-20 18:30:54 +07:00 • committed by GitHub
commit d815847d3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -85,6 +85,7 @@ exports.MessageTypes = {
AUDIO: 'audio',
VOICE: 'ptt',
IMAGE: 'image',
ALBUM: 'album',
VIDEO: 'video',
DOCUMENT: 'document',
STICKER: 'sticker',
@ -130,6 +131,8 @@ exports.GroupNotificationTypes = {
INVITE: 'invite',
REMOVE: 'remove',
LEAVE: 'leave',
PROMOTE: 'promote',
DEMOTE: 'demote',
SUBJECT: 'subject',
DESCRIPTION: 'description',
PICTURE: 'picture',