Plugins
Templates

Telebot - Telegram Bot Template

Template page link: https://zeroqode.com/template/telebot---telegram-bot-template-1523962821190x961994650732724200

Introduction

Telebot no-code template is similar to the Zenify Focus and Mindfulness Bot. This template is perfect for a meditation application or any app that needs a time programmable bot. It comes with a stunning animated landing page, a user page for subscribing to a Stripe plan, and all main pre-configured bot commands (e.g. /settings, /help, send message, send audio, send invoice, etc,). It also comes with a Telegram Plugin for Bubble which costs $7/month or $25 one time payment.

Features

  • Landing page

  • Stripe payment

  • Messaging

  • Telegram bot API connection

The telegram template comes with only 14 mindfulness instructions. It is using a paid Telegram plugin.

For more instructions how to create a bot and set a webhook please see https://forum.zeroqode.com/t/telegram-new-plugin-from-zeroqode/122

Data Types

User

The user data type has fields that contain accessrights, onboardingdone (takes value as either yes or no and is true when onboarding is complete), Sendreminders ( also takes value as either yes or no), TelegramChatId, trialexpired (takes either yes or no as value), totalreceivedassignments (takes a number value) and so on.

Assignments

The data type Assignments contains only four fields within its table; they include the Assignment itself, an Image, a Level and a Music file.

UserAssignments

Within this data type, we have the associated assignment, a chat_id and a field completed that takes a single value of either yes or no.

RandomNumbers

This data type and its table holds only one field; the random number.

Reminders

In addition to the built-in fields, this data type also holds one field; a text as a Reminder for an assignment.

TelegramUpdate

Some of the fields within this data type include a chat_id, chat_type, chat_username, from_id, from_id_is_bot (takes a value of either yes or no), a callback_query_id, message_id, message_text, update_id, etc.

Pages

index

The index page is the landing page for this template and it provides options for a user to learn about the platform by watching a short descriptive video, sample assignments and get to know about the benefits. There are also options to download the mobile app from online stores like Playstore for android based devices and Apple store for IOS based devices.

Custom State

This page has no custom states.

login

This simple page holds views for both Signup for new users and Login for existing users. It simply provides the user with a form that takes required inputs.

Custom State

States

Elements

Notes

loginsignup

login

This state sets and displays a particular view (either the login or the signup view) at a time.

admin

Within the admin page, the user can turn on and send out reminders for assignments. The page also populates a list of predefined assignments, their types, image, and uploaded file if applicable. These information can also be modified from this page.

Custom State

It has no custom states.

my

On this page, the user handles their credit card details and subscriptions plans by choosing from predefined plans.

Custom State

The page has no custom states.

Specific Reference

Payments

Card payments in this template are powered by Stripe using the default card checkout providing a secure environment for users. To set up your Stripe account, go to https://stripe.com, and create an account.

Note: You will be allowed to access your dashboard once you have successfully verified your email address and activated your account.

This template is using the Bubble's Stripe plugin for payments. Please follow the Stripe payments instruction below to configure.

Payments: See the documentation on how to set Stripe Payments in Bubble App.

Tip: Genuine card information cannot be used in test mode. Instead, use test Stripe cards credentials.

Things to Note

Admin Rights

Most of the template content is directly pulled from the database. Please do not delete an entire Data Thing unless you are sure of what you are doing. However, feel free to delete any template content you prefer.

For security purposes, this template has limited rights for potential customers. Meaning, you will not be able to use the admin features at its fullest until you purchase the template and enable admin rights.

Go to admin_panel page, locate the Group "wrapper" element, and simply delete it.

Delete the Group "wrapper" element
Group "wrapper" element deleted

Telegram Plugin

The telegram template comes with only 14 mindfulness instructions.

Link to the docs of Telegram plugin (used in this template): https://docs.zeroqode.com/plugins/telegram-plugin

Demo to preview the template