Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reply_markup & bot keyboard problem #11

Open
attarchi opened this issue Aug 16, 2017 · 1 comment
Open

reply_markup & bot keyboard problem #11

attarchi opened this issue Aug 16, 2017 · 1 comment

Comments

@attarchi
Copy link

hello
i want to show keyboard or inline keyboard for BOT, i use this value for reply_markup , program crashed on sending message.

{
	ID = "ReplyMarkupShowKeyboard"
	,resize_keyboard_ = true
	,one_time_ = true
	,personal_ = true
	, rows_ = { [0]={
			[0] = { ID = "KeyboardButton", text_ = "k1" type_ = {ID = "KeyboardButtonTypeText" }}
			, { ID = "KeyboardButton", text_ = "k2", type_ = { ID = "KeyboardButtonTypeText" }}
			, { ID = "KeyboardButton", text_ = "k3", type_ = { ID = "KeyboardButtonTypeText"}}
		},
		{
			[0] = { ID = "KeyboardButton", text_ = "k4", type_ = { ID = "KeyboardButtonTypeText" }}
			, { ID = "KeyboardButton", text_ = "k5", type_ = { ID = "KeyboardButtonTypeText" }}
			, { ID = "KeyboardButton", text_ = "k6", type_ = { ID = "KeyboardButtonTypeText"}}
		}
	}
}

best regards
attarchi

@rizaumami
Copy link
Owner

Some problem here.
Sorry, cannot help. Never try the bot mode that much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants