mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 01:54:53 +00:00
Enumerate posts in example from 1
This commit is contained in:
parent
30a50b4527
commit
fc787188da
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ POSTS = {
|
||||||
'sed do eiusmod tempor incididunt ut '
|
'sed do eiusmod tempor incididunt ut '
|
||||||
'labore et dolore magna aliqua',
|
'labore et dolore magna aliqua',
|
||||||
'votes': random.randint(-2, 5)
|
'votes': random.randint(-2, 5)
|
||||||
} for index in range(5)
|
} for index in range(1, 6)
|
||||||
}
|
}
|
||||||
|
|
||||||
posts_cb = CallbackData('post', 'id', 'action') # post:<id>:<action>
|
posts_cb = CallbackData('post', 'id', 'action') # post:<id>:<action>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue