# Create the EventHandler and pass it your bot's token.
updater = Updater(token=config.TELEGRAM_API_TOKEN我需要update.callback_query.inline_message_id来更新我的InlineKeyboard菜单,对吗?为什么inline_message_id是空的(无)?
我无法找到使用telegram API的电报客户端的简单而完整的JAVA代码。我发现的只是一些代码,这些代码被其他代码使用,或者是我不需要的特定于bot的代码。这就是我发现的一个例子:
TelegramApi api = new TelegramApi(apiState, new AppInfo(apiKey, "bot", botName, botVersion