23rd
bcb447520e
Added printable representation to PollData.
2026-03-30 10:19:14 +03:00
23rd
7cd8b21af9
[poll-view] Improved support of hidden-results state with toast.
2026-03-30 10:19:14 +03:00
23rd
ec3d981998
Fixed file reference refresh for media within poll.
2026-03-30 10:19:14 +03:00
23rd
42eaddfaba
Added geolocation support to poll answer media data layer.
2026-03-28 10:29:13 +03:00
23rd
cbf8f791bb
[poll-view] Added poll option author info to context menu.
2026-03-28 10:29:09 +03:00
23rd
27e04f3e0c
Added creator flag to PollData.
2026-03-28 10:29:09 +03:00
23rd
554ba411f6
[poll-view] Added initial support of reply to poll answers.
2026-03-28 10:29:08 +03:00
23rd
8e746dcfbd
Replaced MTPInputMedia with domain-level PollMedia in poll data structs.
2026-03-28 10:29:08 +03:00
23rd
bbdc6abea8
Added recent voters to media view.
2026-03-28 10:29:08 +03:00
23rd
c32fbf918f
[poll-view] Added initial display of photo and stickers.
2026-03-28 10:29:07 +03:00
23rd
8145b0b96e
[poll-create] Added files support for poll media.
2026-03-28 10:29:07 +03:00
23rd
546c786ed3
[poll-create] Added poll option toggle to extend poll with new answers.
2026-03-28 10:29:07 +03:00
23rd
e613a89d02
[poll-create] Added poll option toggle to disable revoting.
2026-03-28 10:29:07 +03:00
23rd
945373eb5b
[poll-create] Added poll option toggle for shuffled options.
2026-03-28 10:29:07 +03:00
23rd
90eda7c03a
Fixed build.
2026-03-25 13:08:50 +07:00
John Preston
68dd72f4fe
Update API scheme on layer 224.
2026-03-25 13:08:49 +07:00
John Preston
9f57a82c75
Update API scheme to layer 224.
2026-03-25 13:08:49 +07:00
John Preston
1b4ea2e9c6
Use Api::ParseTextWithEntities more.
2025-08-13 11:18:34 +04:00
23rd
e6c22ec1ca
Added api support for custom emoji in polls.
2024-04-26 20:12:29 +04:00
John Preston
b3ae843f0e
Update API scheme to layer 179.
2024-04-26 20:12:29 +04:00
23rd
1c223e570a
Slightly improved code style for long equality expressions.
2024-04-15 11:20:30 +04:00
John Preston
6607848abc
Fix build with GCC.
2023-07-20 07:20:46 +04:00
John Preston
29d0c8c2ec
Update API scheme to layer 159.
2023-07-20 07:20:07 +04:00
23rd
ea10cf5758
Moved api polls processing to separated file.
2021-10-20 22:56:19 +03:00
John Preston
a6c98f4bb4
Update API scheme to layer 133.
2021-09-07 23:41:07 +03:00
John Preston
1342077dcb
Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId.
2021-04-09 15:05:00 +04:00
Ilya Fedin
c0c10689a1
Get rid of deprecated ranges::view usage
2021-03-13 19:14:58 +03:00
John Preston
ae298818a8
Implement message bar with animations.
2020-10-30 18:32:17 +03:00
John Preston
55edb3bdfe
Update API scheme to layer 119. Count replies.
2020-09-29 19:03:18 +03:00
23rd
e318a7d65f
Simplified ranges::find_if with ranges::any_of and ranges::none_of.
2020-06-23 21:53:43 +04:00
John Preston
bdbcd8e540
Use Main::Session in entities parsing.
2020-06-08 12:05:17 +04:00
John Preston
c70a1f03de
Fix applying poll updates.
2020-04-30 11:35:01 +04:00
John Preston
7a9cfcc40d
Improve poll closing by timer and results reloading.
2020-04-21 18:55:35 +04:00
John Preston
5dcb232b77
Force reload results on auto-closed quiz.
2020-04-21 18:55:34 +04:00
John Preston
3cb76fb80b
Support poll closing by date.
2020-04-21 18:55:34 +04:00
John Preston
13d22947df
Send poll solution with entities.
2020-04-21 18:55:34 +04:00
John Preston
3e2f4bed50
Update scheme to layer 102.
...
Support different dice-like media.
2020-04-21 18:55:34 +04:00
John Preston
5aacf867cd
Correctly apply 'min' updates in polls.
2020-01-24 10:31:18 +03:00
John Preston
3e0b2f5553
Add PollResultsBox.
2020-01-23 10:09:33 +03:00
John Preston
f700220ec1
Create polls with different settings.
2020-01-23 10:09:33 +03:00
John Preston
afff7634f9
Display last voters userpics.
2020-01-23 10:09:33 +03:00
John Preston
95b2886bad
Display correct poll subtitle and quiz answer.
2020-01-23 10:09:33 +03:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
567bf60644
Use getters in MTP classes.
2019-07-05 16:23:07 +02:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
8708a001c7
Always display nice percent values.
...
Sum of percent values should never exceed 100%. If any two answers
received same amount of votes, they should show same percent values.
This way sum could be less than 100% (three answers, one vote each),
but this looks better than giving extra vote to some random answer.
2018-12-25 22:12:35 +04:00
John Preston
6f176803d4
Reload poll data each 30 seconds without update.
2018-12-24 21:03:53 +04:00
John Preston
b6f7832745
Add create poll box from groups three-dot menu.
2018-12-22 10:29:03 +04:00
John Preston
74c1db740d
Implement polls voting and actions.
2018-12-21 17:09:33 +04:00
John Preston
4bb5dcf50c
Simplest poll layout.
2018-12-21 17:09:32 +04:00