Commit Graph

13335 Commits

Author SHA1 Message Date
levlam
e2076d593b Send updateStarCount after receiving balance. 2024-08-07 13:24:11 +03:00
levlam
ec92603a70 Support updateOwnedStarCount in getCurrentState. 2024-08-07 13:08:09 +03:00
levlam
9daa9a0717 Cache owned star count. 2024-08-07 13:05:15 +03:00
levlam
6d26481186 Fix active live location expiration. 2024-08-06 00:35:03 +03:00
levlam
12e23e68bf Remove MessagesManager::on_load_active_live_location_messages_finished. 2024-08-06 00:15:07 +03:00
levlam
f5e0989f9e Save active live locations after successful delete. 2024-08-05 22:44:47 +03:00
levlam
68e7862169 Remove expired live locations. 2024-08-05 22:42:05 +03:00
levlam
6cfffa0dbc Remove td_api::getActiveLiveLocationMessages. 2024-08-05 21:51:57 +03:00
levlam
7f10402ba0 Add updateActiveLiveLocationMessages. 2024-08-05 21:45:21 +03:00
levlam
6fbcab1cec Return whether active live location was added. 2024-08-05 21:26:50 +03:00
levlam
9a695f08c0 Don't add yet unsent message to active live locations. 2024-08-05 15:08:18 +03:00
levlam
6b4389bb43 Add "subscription_star_count_max" option. 2024-08-05 14:50:14 +03:00
levlam
c37ec40977 Dismiss suggestedActionExtendStarSubscriptions when buying stars. 2024-08-05 14:00:57 +03:00
levlam
025fc4c558 Add td_api::suggestedActionExtendStarSubscriptions. 2024-08-05 13:46:56 +03:00
levlam
aaf9d40bea Add getStarSubscriptions.only_expiring. 2024-08-05 10:27:06 +03:00
levlam
176700325e Add starSubscriptions.required_star_count. 2024-08-05 10:21:22 +03:00
levlam
a4b557ea05 Add starSubscription.is_expiring. 2024-08-05 09:28:11 +03:00
levlam
191a742fa2 Add getStarTransactions.subscription_id. 2024-08-05 09:16:21 +03:00
levlam
2c8a304e5a Move can_get_added_reactions to messageReactions. 2024-08-04 21:57:57 +03:00
levlam
ff174f3bce Add td_api::removePendingPaidMessageReactions. 2024-08-04 12:53:14 +03:00
levlam
4dc42bc1bd Combine and delay addPaidMessageReaction queries. 2024-08-04 12:26:40 +03:00
levlam
7d93a305ad Update top reactors in MessageReactions::update_from. 2024-08-03 11:46:22 +03:00
levlam
8cd69d759d Add MessageReactor::fix_message_reactors. 2024-08-03 11:35:09 +03:00
levlam
d13d8a3176 Support sending of paid media by business bots. 2024-08-02 15:59:42 +03:00
levlam
e90d8621fb Add td_api::internalLinkTypeBuyStars. 2024-08-02 09:02:01 +03:00
levlam
076528a99f Update editChatInviteLink documentation. 2024-08-01 23:35:21 +03:00
levlam
9913849249 Add MessageReactions::add_my_paid_reaction. 2024-08-01 23:31:50 +03:00
levlam
049692dcb8 Add messageReactions.paid_reactors. 2024-08-01 23:19:31 +03:00
levlam
8044ed83b8 Add MessageReactor::add_dependencies. 2024-08-01 22:52:49 +03:00
levlam
4995abde1b Add td_api::paidReactor. 2024-07-30 09:25:57 +03:00
levlam
815d6fd0eb Add chatMemberStatusMember.member_until_date. 2024-07-30 09:25:10 +03:00
levlam
d3e95a5e85 Add td_api::reuseStarSubscription. 2024-07-29 23:14:41 +03:00
levlam
5303570c76 Add starSubscription.can_reuse. 2024-07-29 21:48:36 +03:00
levlam
7e09507987 Add chatInviteLinkSubscriptionInfo.can_reuse. 2024-07-29 21:41:27 +03:00
levlam
28f8ffd199 Add td_api::chatInviteLinkSubscriptionInfo. 2024-07-29 21:32:33 +03:00
levlam
3a8b58b483 Support chosen paid reaction. 2024-07-26 17:54:32 +03:00
levlam
98ed9f98c4 Add td_api::addPaidMessageReaction. 2024-07-26 17:50:18 +03:00
levlam
697c118c0d Add "paid_reaction_star_count_max" option. 2024-07-26 17:23:58 +03:00
levlam
4918ea4314 Add supergroupFullInfo.can_enable_paid_reaction. 2024-07-26 17:13:06 +03:00
levlam
908eb948f0 Add td_api::channelTransactionPurposeReaction. 2024-07-26 16:56:24 +03:00
levlam
62d1a85ab6 Add more checks for paid reactions. 2024-07-26 16:39:30 +03:00
levlam
c55f946133 Return paid reaction in getMessageAvailableReactions. 2024-07-26 15:42:00 +03:00
levlam
c583fb2fcf Allow to enable paid reaction in channels. 2024-07-26 15:31:09 +03:00
levlam
1438e1bd88 Add td_api::reactionTypePaid. 2024-07-26 15:11:41 +03:00
levlam
3ba783158f Add td_api::editStarSubscription. 2024-07-25 23:13:00 +03:00
levlam
597805c951 Add td_api::getStarSubscriptions. 2024-07-25 22:53:45 +03:00
levlam
070675b4cd Add td_api::starSubscription. 2024-07-25 20:06:29 +03:00
levlam
9315b118e0 Add td_api::channelTransactionPurposeJoin. 2024-07-25 18:23:24 +03:00
levlam
83be2c698c Add td_api::telegramPaymentPurposeJoinChat. 2024-07-25 18:09:09 +03:00
levlam
d20a3f1552 Document that subscription links can't be edited. 2024-07-23 20:35:52 +03:00