BOT

  -  

Bots are third-buổi tiệc ngọt applications that run inside yenbaitourism.com.vn. Users can interact with bots by sending them messages, commands và inline requests. You control your bots using HTTPS requests lớn our Bot API.

Bạn đang xem: Bot

1. What can I bởi vì with bots?


*
gif inline-bot"/>
*

There's a… bot for that. Just talk to lớn BotFather (described below) và follow a few simple steps. Once you've sầu created a bot & received your authorization token, head down to lớn the Bot API manual to see what you can teach your bot khổng lồ do.

You may also lượt thích to kiểm tra out some code examples here »

4. How are bots different from humans?

Bots have no online status & no last seen timestamps, the interface shows the label 'bot' instead.Bots have limited cloud storage — older messages may be removed by the server shortly after they have been processed.Bots can't initiate conversations with users. A user must either add them lớn a group or send them a message first. People can use t.me/ liên kết or username tìm kiếm lớn find your bot.Bots never eat, sleep or complain (unless expressly programmed otherwise).

5. Bot perks

yenbaitourism.com.vn bots are unique in many ways — we offer two kinds of keyboards, additional interfaces for default commands and deep linking as well as text formatting, integrated payments và more.

Xem thêm: Cửa Hàng Thời Trang Nữ Susu Shop Nguyễn Trãi Quận 5 Có Gì, Quận 5 Có Gì

Inline mode

Users can interact with your bot via inline queries straight from the text đầu vào field in any chat. All they need lớn do is start a message with your bot's username và then type a query.

Having received the query, your bot can return some results. As soon as the user taps one of them, it is sent lớn the user's currently opened chat. This way, people can request content from your bot in any of their chats, groups or channels.

Check out this blog to see a sample inline bot in action. You can also try the
sticker and

*


*
*

Since the underlying technology is HTML5, the games can be anything from simple arcades và puzzles to multiplayer 3D-shooters and real-time strategy games. Our team has created a couple of simple demos for you to try out:

You can also kiểm tra out the

*
*
*

*
music" style="width: 240px; padding: 10px 5px;" />
*
music" style="width: 240px; padding: 10px 5px;" />
*

When callback buttons are used, your bot can update its existing messages (or just their keyboards) so that the chat remains tidy. Cheông xã out these sample bots to see inline keyboards in action:
music,
lượt thích.

Xem thêm: Khách Sạn Công Đoàn Ở Vũng Tàu, Khách Sạn Công Đoàn Vũng Tàu

Read more about inline keyboards and on-the-fly editing »

Commands

Commands present a more flexible way to lớn communicate with your bot. The following syntax may be used:

/commandA commvà must always start with the '/' symbol and may not be longer than 32 characters. Commands can use latin letters, numbers and undersyenbaitourism.com.vns. Here are a few examples:

/get_messages_stats/set_timer 10min Alarm!/get_timezone London, UKMessages that start with a slash are always passed khổng lồ the bot (along with replies lớn its messages và messages that
mention the bot by username). yenbaitourism.com.vn apps will:

Show an additional (/) button in the đầu vào field in all chats with bots. Tapping it types a '/' and shows the danh mục of commands.Highlight /commands in messages. When the user taps a highlighted commvà, the commvà is sent at once.
*
*
*

TriviaBot/start
*
*