Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

full screen #1168

Closed
Vo0oX opened this issue Jan 29, 2024 · 1 comment
Closed

full screen #1168

Vo0oX opened this issue Jan 29, 2024 · 1 comment

Comments

@Vo0oX
Copy link

Vo0oX commented Jan 29, 2024

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

@khacpv
Copy link

khacpv commented Mar 12, 2024

import <script src='https://telegram.org/js/telegram-web-app.js'></script> into `
then call this function to expand window:

window.Telegram.WebApp.expand();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants