Telegram智能记账机器人开发全攻略
流量次数: 作者:tg纸飞机 发布时间:2025-08-11 23:35
from telebot import types
import sqlite3
bot = telebot.TeleBot("YOUR_TOKEN")
数据库初始化
conn = sqlite3.connect('finance.db', check_same_thread=False)
cursor = conn.cursor
@bot.message_handler(commands=['start'])
def send_welcome(message):
markup = types.ReplyKeyboardMarkup(row_width=2)
btn1 = types.KeyboardButton('➕ 添加记录')
btn2 = types.KeyboardButton('
tags标签:纸飞机TG中文版(10)tg软件(8)
本文章来自(https://www.tjhzz.net),转载请说明出处!
下一篇:没有了