info about image size
This commit is contained in:
@@ -75,7 +75,7 @@ export class OllamaChat extends ChatCommand {
|
|||||||
try {
|
try {
|
||||||
waitMessage = await bot.sendMessage({
|
waitMessage = await bot.sendMessage({
|
||||||
chat_id: chatId,
|
chat_id: chatId,
|
||||||
text: Environment.waitText,
|
text: Environment.waitText + maxSize ? `Image ${maxSize.width}x${maxSize.height}px` : "",
|
||||||
reply_parameters: {
|
reply_parameters: {
|
||||||
chat_id: chatId,
|
chat_id: chatId,
|
||||||
message_id: msg.message_id
|
message_id: msg.message_id
|
||||||
@@ -135,7 +135,7 @@ export class OllamaChat extends ChatCommand {
|
|||||||
waitMessage.text = currentText;
|
waitMessage.text = currentText;
|
||||||
await MessageStore.put(waitMessage);
|
await MessageStore.put(waitMessage);
|
||||||
|
|
||||||
await replyToMessage(waitMessage, `⏱️ ${diff}s`);
|
await replyToMessage(waitMessage, `⏱️ ${diff}s` + maxSize ? `Image ${maxSize.width}x${maxSize.height}px` : "");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user