node-telegram-bot-api icon indicating copy to clipboard operation
node-telegram-bot-api copied to clipboard

full screen

Open Vo0oX opened this issue 1 year ago • 1 comments

bot.sendMessage(chatId, 'Онлайн запись Harley Barbershop',{reply_markup: { inline_keyboard: [ [ { text: "Записаться", web_app: { url: url

                        },
                    },
                ],
            ],
    }})
    
            Now my app opens in half the screen

IMAGE 2024-01-29 11:32:11

How can I make it open in full screen at once?

IMAGE 2024-01-29 11:32:09

Vo0oX avatar Jan 29 '24 09:01 Vo0oX

import <script src='https://telegram.org/js/telegram-web-app.js'></script> into `

then call this function to expand window:
window.Telegram.WebApp.expand();

khacpv avatar Mar 12 '24 15:03 khacpv

window.Telegram.WebApp.expand();

helo when using next js, can you know to solve ?

fitri612 avatar Jul 22 '24 06:07 fitri612