feat(Message): added string type for message nonce (#4782)

Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
This commit is contained in:
Junseo Park
2020-11-23 03:13:38 +09:00
committed by GitHub
parent 863734aba4
commit 4b555fdf4c
3 changed files with 8 additions and 5 deletions

View File

@@ -71,7 +71,7 @@ const Messages = {
IMAGE_SIZE: size => `Invalid image size: ${size}`,
MESSAGE_BULK_DELETE_TYPE: 'The messages must be an Array, Collection, or number.',
MESSAGE_NONCE_TYPE: 'Message nonce must fit in an unsigned 64-bit integer.',
MESSAGE_NONCE_TYPE: 'Message nonce must be an integer or a string.',
TYPING_COUNT: 'Count must be at least 1',