Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3b813c3

Browse files
committed
Include new classes into the example.
1 parent12e3e42 commit3b813c3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎example/mega/bot_dialogs/reply_buttons.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
fromaiogram_dialog.widgets.kbdimport (
33
Checkbox,
44
Radio,
5+
RequestChat,
56
RequestContact,
67
RequestLocation,
8+
RequestUsers,
79
Row,
810
)
911
fromaiogram_dialog.widgets.markup.reply_keyboardimportReplyKeyboardFactory
@@ -17,7 +19,9 @@
1719
Const("Reply keyboard with multiple widgets.\n"),
1820
Row(
1921
RequestContact(Const("👤 Send contact")),
22+
RequestChat(Const("💬 Send chat"),request_id=1),
2023
RequestLocation(Const("📍 Send location")),
24+
RequestUsers(Const("👥 Send user"),request_id=2,max_quantity=1),
2125
),
2226
Checkbox(
2327
checked_text=Const("✓ Checkbox"),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp