add video
This commit is contained in:
@@ -70,9 +70,13 @@ export async function uploadChatMediaBatch(params: {
|
||||
let messageContent: string | undefined =
|
||||
index === 0 && caption?.trim()
|
||||
? caption.trim()
|
||||
: messageType === 'FILE'
|
||||
? item.file.name
|
||||
: undefined;
|
||||
: messageType === 'VIDEO'
|
||||
? 'Видео'
|
||||
: messageType === 'VIDEO_NOTE'
|
||||
? 'Видеосообщение'
|
||||
: messageType === 'FILE'
|
||||
? item.file.name
|
||||
: undefined;
|
||||
let isEncrypted = false;
|
||||
|
||||
if (isE2E) {
|
||||
|
||||
Reference in New Issue
Block a user