Sistemazioni...
This commit is contained in:
@@ -2418,9 +2418,9 @@ class Telegram {
|
||||
|
||||
async sendMsg(id, text, menu, form, msg_id, chat_id, ripr_menuPrec) {
|
||||
|
||||
if (text.length > 4096) {
|
||||
let text1 = text.slice(0, 4096);
|
||||
let text2 = text.slice(4096, text.length);
|
||||
if (text.length > 4090) {
|
||||
let text1 = text.slice(0, 4090);
|
||||
let text2 = text.slice(4090, text.length);
|
||||
await this._inviaMsg(id, text1, form, menu, msg_id, chat_id, ripr_menuPrec);
|
||||
return await this._inviaMsg(id, text2, form, menu, msg_id, chat_id, ripr_menuPrec);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user