Commit Graph

15 Commits

Author SHA1 Message Date
levlam
35d3be72f3 Add CHECKs in register_poll/unregister_poll.
GitOrigin-RevId: 5e87cf053b6b174dd20070a8a1b1d45874080ec7
2019-02-25 19:12:35 +03:00
levlam
e27354bf8a Add sanity checks for polls voter count.
GitOrigin-RevId: dba4406f261609a78f4eddd32b93e94793fecc7b
2019-02-25 00:00:17 +03:00
levlam
812398ae7b Fix registering polls in a just sent message.
GitOrigin-RevId: cea331e39437aa6376048fb78a569f3d908f7022
2019-02-24 23:49:55 +03:00
levlam
58f63d36d6 Fix includes.
GitOrigin-RevId: d633dc842591cd28a03f9fba6974a171926ed229
2019-02-22 23:15:43 +03:00
levlam
075874d729 Poll results polling.
GitOrigin-RevId: 3d70603f2f219f069e2784206adc5d7c7c96ff3f
2019-02-22 22:53:02 +03:00
levlam
168add9006 Add td_api::stopPoll.
GitOrigin-RevId: f2d9b5d42e267b9d06591450d69efb323639bb66
2019-02-22 18:09:55 +03:00
levlam
559aca6cec Use the same poll options as in Android client.
GitOrigin-RevId: bb8527d1a67872686028c38c27352e2632eb9711
2019-02-21 22:37:15 +03:00
levlam
2e144e6e3e Add setPollAnswer logevent.
GitOrigin-RevId: e73a3c5af859053fa9210eec2874077f47b00a12
2019-02-21 17:40:37 +03:00
levlam
4c6fc2be14 Cancel previous setPollAnswer query.
GitOrigin-RevId: aeffa84d6895199541f449d9e4c344b134d361e4
2019-02-21 15:42:54 +03:00
levlam
b852bd145f Add td_api::setPollAnswer.
GitOrigin-RevId: 40c409ea8b4bba6d1ee0137a5cab8dca889d71dd
2019-02-21 15:23:05 +03:00
levlam
d22dfb2a0c Rename poll answers to options.
GitOrigin-RevId: bcb2b9f6b29b58a3460df18773148eb426935664
2019-02-21 03:52:58 +03:00
levlam
bfaaf09b2b Send updateMEssageContent about changed polls.
GitOrigin-RevId: bb61f466759ac27c687411861f8c7452cd5758ce
2019-02-21 01:54:31 +03:00
levlam
839c1856ff Register polls.
GitOrigin-RevId: 812e3e699a578effab96c4d798d5b74ddf635371
2019-02-19 18:42:59 +03:00
levlam
9de3304ec4 Close failed to send polls.
GitOrigin-RevId: 6f9dcde4bbfcbc1fa63ed94641775007e3091706
2019-02-19 17:06:48 +03:00
levlam
5ef99afec7 Add messagePoll support.
GitOrigin-RevId: 41b93b2708285e4051fc01b856aa14a8c8c5c692
2019-02-19 16:45:32 +03:00