Commit Graph

5531 Commits

Author SHA1 Message Date
levlam
1941c0b962 Fix loading ChatFull/ChannelFull. 2021-01-14 23:40:18 +03:00
levlam
d5c0028e1e Add getChatInviteLinkUsers. 2021-01-14 23:21:23 +03:00
levlam
efc12342c2 Add getChatInviteLinks method. 2021-01-14 19:39:51 +03:00
levlam
9f37354951 Return full invite links in *FullInfo. 2021-01-13 19:14:08 +03:00
levlam
4761d7385c Move invite link methods to DialogInviteLink. 2021-01-13 18:30:58 +03:00
levlam
1816a6c7a5 Support permanent invite links. 2021-01-13 18:16:33 +03:00
levlam
5016197cf9 Load self when creating chat invite link. 2021-01-13 16:59:10 +03:00
levlam
3df10dc103 Check invite link validness. 2021-01-13 16:50:41 +03:00
levlam
b5cd03365d Add DialogInviteLink class. 2021-01-13 16:28:24 +03:00
levlam
87a2423f5a Add editChatInviteLink method. 2021-01-12 19:21:12 +03:00
levlam
0b7ce1c647 Update layer 123. Support new generateChatInviteLink. 2021-01-12 17:05:25 +03:00
levlam
70b4838a21 Rename source to audio_source. 2021-01-11 15:02:02 +03:00
levlam
567707099e Use messageEmpty.peer_id. 2021-01-02 23:32:02 +03:00
levlam
6bba5a568a Add setGroupCallParticipantVolumeLevel. 2021-01-02 22:59:48 +03:00
levlam
6b66cd8716 Add groupCallParticipant.volume_level. 2020-12-31 03:10:41 +03:00
levlam
607d198d36 Add groupCallParticipant.muted_only_for_self_count. 2020-12-31 02:54:17 +03:00
levlam
7bf916f4f5 Support muting group call participants for self. 2020-12-31 02:48:45 +03:00
levlam
91e5b9e677 Update layer to 123. Rename Android Pay to Google Pay. 2020-12-29 16:43:58 +03:00
levlam
4e710553ef Don't try to merge GIF animation with generated MP4 animation. 2021-01-28 15:11:14 +03:00
levlam
797aaecf2a Prefer video dimensions over image size attribute. 2021-01-28 15:03:52 +03:00
levlam
3f856ccb46 Don't load dialog after ChatFull is loaded from database. 2021-01-25 17:58:19 +03:00
levlam
cec5f11d17 Don't save group administrators after basic group full is loaded from database. 2021-01-25 17:41:49 +03:00
levlam
d25edad06d Rewrite searchChatMembers and getSupergroupMembers implementation. 2021-01-25 17:34:45 +03:00
levlam
60673fea78 Add get_chat_members_object method. 2021-01-25 02:07:38 +03:00
levlam
ef160aa2c0 Add struct DialogParticipants. 2021-01-25 02:00:57 +03:00
levlam
feba24f1f4 Improve updating first/last database message IDs in on_get_history. 2021-01-25 01:19:41 +03:00
levlam
c169067bb5 Improve logging. 2021-01-24 23:45:03 +03:00
levlam
e63776dbd3 Improve updating first/last database message IDs in on_get_history. 2021-01-24 23:27:53 +03:00
levlam
08b3ce0aac Fix updating last database message ID after channelDifferenceTooLong. 2021-01-24 23:07:55 +03:00
levlam
d36ee86027 Stricter conditions for setting have_full_history. 2021-01-24 22:45:25 +03:00
levlam
fc2941763b Fix LibreSSL 3+ support. 2021-01-24 21:59:03 +03:00
levlam
527c61caeb Skip send_update_chat_has_scheduled_messages call if there was no scheduled message changes. 2021-01-24 03:29:54 +03:00
levlam
77a404d313 Delete updateMessageId if target message is in inaccessible chat part. 2021-01-24 03:20:19 +03:00
levlam
3e90584859 Delete updateMessageId whenever target message is found to be deleted. 2021-01-24 02:49:01 +03:00
levlam
c3e4560811 Add MessagesManager::delete_update_message_id method. 2021-01-24 02:14:51 +03:00
levlam
960aae0ae6 Improve handling of via_bot_name. 2021-01-23 23:19:37 +03:00
levlam
6e20aaa428 Add source to get_dimensions. 2021-01-23 22:04:35 +03:00
levlam
ae59f017e7 Fix expires_in == 0 in schedule_get_promo_data. 2021-01-23 21:39:41 +03:00
levlam
9c961b2eb8 Optimize database_message_id updating in on_get_history. 2021-01-21 23:37:00 +03:00
levlam
6729581d03 Clamp wrong dialog action progress instead of ignoring. 2021-01-21 23:19:40 +03:00
levlam
31265c93f1 Add ability to check whether a user is a mutual contact. 2021-01-21 16:49:41 +03:00
levlam
9a575cdb56 Forcely ignore updateChat received in getDifference. 2021-01-20 15:14:16 +03:00
levlam
e72c129f9c Ignore getDifference errors while closing. 2021-01-18 15:54:29 +03:00
levlam
f37f9a78c1 Fix chat list printing in Java example. 2021-01-18 14:07:06 +03:00
levlam
027c78c691 Remove wrong error logging. 2021-01-18 13:32:44 +03:00
levlam
520f55d31f Remove expected error logging. 2021-01-18 12:58:16 +03:00
levlam
451c0afe60 Fix ChatFullInfo reloading due to uninited is_is_blocked_inited. 2021-01-16 12:33:45 +03:00
levlam
2348e175d9 Add source to get_chat_full_force. 2021-01-16 12:30:48 +03:00
levlam
52b7f8f118 Add DialogParticipantFilter logging. 2021-01-16 11:56:02 +03:00
levlam
db77165dad Optimize ContactsManager::search_among_users. 2021-01-16 03:14:15 +03:00