Run your communities, plan campaigns and track member activities using simple, flexible and easy to use tools. No headaches. No training required.
Get Started Free!
The "Daily Attendance Bonus" feature is a great tool that can boost community activity and dramatically increases the retention of community members. The Attendance module communicate with communities by utilizing the H5 Game API provided by Telegram platform. Following is the guide about how to enable the Attendance module for branding bots hosted on TeleMe.
Telegram's HTML5 API provides an interface for external HTML5 content to communicate with communities. The Attendance module depends on the two functions of H5 API:
- Answering inline queries,
- Serving H5 Game
The following steps will show you how to turn on this feature for your branding bot. It is estimated to take about 5 minutes. If you have any questions, please feel free to contact us at @telemedotio.
Please log in to Telegram. All of the following operations are done in Telegram through a conversation with @BotFather.
Step 1: Turn on the inline mode
Connect to the @BotFather by the link: https://telegram.me/BotFather. When the chat-window with the bot will be open in the Telegram, press the Start button.
/setinlinecommand to BotFather. And then choose your bot from the bot list. It should show a screen like following.
- Send a short description about your group to BotFather. After that, you should receive a success message, as shown below.
Step 2: Create an H5 game called
- In the BotFather dialog, send
/newgamecommand and accept the H5 API agreements. Then select your Bot from the Bot list.
- Then send the name of the H5 content to BotFather:
Daily Attendance Bonus
- Send a brief description of the H5 content to BotFather:
Sign in daily attendance, and collect your reward.
- Upload a key visual image for your H5 content. The image size must be 640x360 pixels. You can use that image we provide at https://teleme.io/assets/feature_updates/attendance_bonus/post_attendance_en-fs8.png
- Telegram also supports GIF animation for H5 content. But we don't need this feature yet. So please send
/emptyto skip this step.
Now, you should see a screen similar to the one below.
- The last step is to set the short name for the H5 content. This is important, please make sure that you send
attendanceto BotFather as TeleMe use this fixed short name to serve "Daily Attendance Bonus"
You will see a screen similar to the one below. Please note that the part of the red line must end with "?game=attendance". Now you can use your brand bot to serve "Daily Attendance Bonus" in your Telegram communities.
Can I change the name, description or image of my H5 games?
Yes. Just send to
/mygames command to BotFather. Then select the H5 content you'd like to make modification on.
This seems too complicated to me, can you help?
Yes. TeleMe provide dedicated customer support service for Telegram groups on the Enterprise plan. Just talk to @telemedotio and let us sort out these things for you.