2023-03-24 21:43:13
Basic TPY - Telebot Creator 1. Send Message : bot.replyText(
chat_id=message.chat.id,
text="*text*",
parse_mode="markdown")
2. Send Photo bot.replyPhoto(chat_id=u, photo="photo link", caption=f"*text*", parse_mode="Markdown")
3. Send Keyboardkeyboard = ReplyKeyboardMarkup(True)
keyboard.row("button 1","button 2")
keyboard.row("button 3")
bot.replyText(
chat_id = message.chat.id,
text = "* Powered By @Coderajinkya *",
reply_markup = keyboard,parse_mode="markdown"
)
4. Send Inline Keyboardinline = InlineKeyboardMarkup()
inline.add(InlineKeyboardButton(
text='️button 1',
callback_data='/command1'),
InlineKeyboardButton(
text='️button 2',
callback_data='/command2')
)
inline.add(InlineKeyboardButton(
text='️button 3',
callback_data='/command3')
)
bot.replyText(chat_id=u,text=f"Ajinkya Given TPY Codes", parse_mode="Markdown",reply_markup=inline)
This was just basic of tpy and more advance codes soon will post here
Codes By : @Coderajinkya
Helper : Telebot Creator Inc.
The Credit was given to :
@AjinkyaBots or @kids_Coder Partner : @rarecodes
You Can Comment us which codes you want, we will post it
React For More #TBC Codes
1 viewℂ𝕒𝕞𝕡𝕒𝕚𝕘𝕟 𝕃𝕚𝕧𝕖 (LEAVING TG), 18:43