자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
def start(bot, update): database = DBHandler() database.add_id(update.message.chat_id) logger.info("Connected to bot: %d" % update.message.chat_id) bot.send_message(chat_id=update.message.chat_id, text="Hello") bot.send_message(chat_id=update.message.chat_id, text=database.get_latest_post()[0])