If you find it impossible to support certain conditions or platforms, don't leave your users hanging and at least provide a notification. Please make sure that your HTML5 page is responsive and works well on all Telegram apps and supported platforms. Use the TelegramGameProxy.initParams object if you need to read your own parameters from the fragment id. The names for such parameters will start in tg (you can check the code that adds them here). If your URL is using a fragment identifier, please note that Telegram Apps could add certain service parameters to the fragment id. This library will only work when launched from inside Telegram, so please don't use it on ordinary web pages. Warning: Do not call this method without consent and direct action from the user. Then use the method TelegramGameProxy.shareScore() to call the sharing option. To add the sharing button, include this script at the end of the tag on your page: You can also request the necessary data for building in-game high score tables. When a new high score is set, a service message will be sent to the chat and the message with the current scoreboard will be updated. The message with your game will also display high scores for the current chat. You can add more buttons: e.g., for a description of the rules, or a button that links to the game's official community. Please note that the first button in the first row must always be the one that launches the game. You can manually add multiple buttons to your game message. If you send the game message without any buttons, it will automatically have a 'Play GameName' button. You provide the correct URL for this particular user and the app automatically opens the game in the in-app browser. When this button is pressed, your bot gets a callback query that indicates the requested game. The game message will always have an inline Play button. Once the game is created, your bot can send it to chats as regular messages, or offer them via inline mode. You can also upload an optional GIF animation that demostrates your game to the users to make messages with the game more attractive (check out Lumberjack or Corsairs for examples). To get started, send the /newgame command to will be prompted for a description text and a photo. Since April 2022, you can also use Web Apps to create powerful games using JavaScript.Ĭheck out the Web App Manual for details. To use this bot you need to register or log in first.Check out the and bots for examples of what you can do using the new Gaming Platform. The monitor RSS bot is now working and will notify you every time when a content update is detected. That's it! You will be taken to your "Jobs" section. Specify if you would like to receive RSS feed alerts about the latest content updates to your email, Slack, Telegram, or Zapier:Ĭlick the "Start this bot" button on the right-hand side: If no longer needed, the RSS monitor can be stopped either manually or at a certain date specified in advance: Give your "Job" a meaningful title, and optionally specify (or create) a project folder: Software walkthroughĬlick on the "Start bot" button on the right-hand side of this page to open the spider's form: You can navigate to your RSS feed monitoring job's page to view all the logged updates as well as change your preferences (update time intervals or notification options). That's it! The RSS feed monitor will now start and will send you notifications once it detects an update to the feed.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |