Commit Graph

236 Commits

Author SHA1 Message Date
levlam
b314311c4d Fix documents store.
GitOrigin-RevId: 30b2ee3f1df1a49f4ad4f7715e549da885776ddf
2018-03-08 22:43:12 +03:00
levlam
76de8f374e Preserve remote_id in update_message_content.
GitOrigin-RevId: 136c7a391374a54d1e1c5afac5b68d986c9c7001
2018-03-08 22:01:24 +03:00
levlam
ab9ce52e5c Update remote_id in FileId list if possible.
GitOrigin-RevId: 3c42e3947ee454b786213e681e39220ab0fdccfe
2018-03-08 21:04:28 +03:00
levlam
a25cfc3e06 Fix is_bot.
GitOrigin-RevId: ac6909ef9ed31bfb7b4b34d015f54a7d6e97c3e2
2018-03-08 20:35:23 +03:00
levlam
6afacdd23f Do not return self in getTopChats.
GitOrigin-RevId: 3ec9d54dbe42447f15ae25fad9e9e8e438af36e8
2018-03-08 18:21:40 +03:00
levlam
c2dbb601cf Fix process_config.
GitOrigin-RevId: ea657dfc621fdf13a1641377a2bef6ddd396172a
2018-03-08 18:01:45 +03:00
levlam
34f6fd8942 Ensure that list size limit isn't exceeded.
GitOrigin-RevId: eded5582f4828928ca37fe64cde6c58fb469242c
2018-03-08 17:17:53 +03:00
levlam
6669bd8c7b Support for recent_stickers_limit.
GitOrigin-RevId: f49119eb0703bb03e7c564a4f90a1f91f9c6074b
2018-03-08 16:49:45 +03:00
levlam
ae319fa10b Cashtag support.
GitOrigin-RevId: c1e55687ce0c977635b77b48940bc6cc0735e02e
2018-03-08 16:28:54 +03:00
levlam
a665c4e822 Implement find_cashtags.
GitOrigin-RevId: 40026a19c1ee1f1ea9c0157d28bdc0b67cbf9c58
2018-03-07 20:29:33 +03:00
Arseny Smirnov
81776db03a Enumerator: do not invalidate pointers to elements
GitOrigin-RevId: 0d535d7052b9cb95365eff4bf35ddf30966ec90f
2018-03-07 10:47:33 +03:00
levlam
8b0cce1610 Re-enable sent file merge when only FileType changes.
GitOrigin-RevId: 728228d2397097ae1aaf68ce062c0cdd21fa0176
2018-03-07 02:41:40 +03:00
levlam
c35bc1c0fc Remove now unsafe FileId constructors.
GitOrigin-RevId: eb3e37f4056ff6b967e4fd3d9b310fdc0e7602a1
2018-03-07 02:37:39 +03:00
levlam
f041bf4cc8 Fix field name and remove unused field.
GitOrigin-RevId: 81c8488f44562536a01deb365e3901b052131d54
2018-03-07 02:23:09 +03:00
levlam
032aed823a Fix file list hash calculation.
GitOrigin-RevId: e39474ebdc128079f65a4e2d97ecc4b0a8419c22
2018-03-07 02:02:49 +03:00
Arseny Smirnov
fce5219334 Bugfix
GitOrigin-RevId: 286be7360a01e39ae199d7980ca7465381aa0261
2018-03-06 21:52:21 +03:00
Arseny Smirnov
312ccd7cbd Store remote location with FileId
GitOrigin-RevId: 43ff47088a5675df95427a610427a9908707392f
2018-03-06 21:31:20 +03:00
levlam
41bd7c7428 Various fixes.
GitOrigin-RevId: e96c9e6f8f159f91ec31288e36edfb5869603341
2018-03-06 19:27:52 +03:00
Arseny Smirnov
d52c3ee3f9 Temporary turn off getFileHashes
GitOrigin-RevId: 0f5d3164c22e4602cc63e5d4476d6d906b549bb2
2018-02-28 11:01:57 +03:00
Arseny Smirnov
32dcdcffc5 FileLoadManager: separate resource manager for each datacenter
GitOrigin-RevId: c61103110d8f4d245e784c7f0e047c349c8840ae
2018-02-27 22:47:14 +03:00
levlam
599c4bd4ae Fix CE.
GitOrigin-RevId: e156a9f49174de0a7f10bffd1eb093ef10572b63
2018-03-06 02:03:06 +03:00
levlam
17ea2cb2b6 Add td_api::searchInstalledStickerSets and td_api::searchStickerSets.
GitOrigin-RevId: 6abcb03bbbd79e3d1dc8156ac684de7100b85170
2018-03-06 01:44:11 +03:00
levlam
43e0d385f2 Update layer 76.
GitOrigin-RevId: 10c40c6e3eb3a540aa3dce8967be964f39b76cd3
2018-03-05 18:34:33 +03:00
levlam
6990be78d8 Add t_me_url option.
GitOrigin-RevId: 2befb7b1112200c7df36082e5305a96117c56c36
2018-03-05 17:36:15 +03:00
levlam
e4d76c43c3 Add td_api::getCountryCode.
GitOrigin-RevId: 361b261b17848c5052769e4a0b6ebaa3cc30e769
2018-03-05 00:36:16 +03:00
levlam
c1e3f2d65d Use new config constants.
GitOrigin-RevId: 6f0d02a9ca91e7db2d416eb89861080ff9f6f30c
2018-03-04 23:50:38 +03:00
levlam
a3717481ed More robust mkpath.
GitOrigin-RevId: 3c0417c3223dff7161f4457da8ae475f6dc8f925
2018-03-04 22:53:21 +03:00
levlam
1a8eb4b4e5 Do not create dialog in check_dialog_username.
GitOrigin-RevId: 788310ce62dc9d824f00043b7aecf2a512cd7a84
2018-03-04 22:27:42 +03:00
levlam
e0381695a3 Add is_secret flag to messageAnimation, messagePhoto, messageVideo and messageVideoNote.
GitOrigin-RevId: 15bcfda6fb5723c6e4468ce73d0ad737a09426dc
2018-03-04 22:18:32 +03:00
levlam
aeff9a99d1 Do not increment message view counter in closed chats.
GitOrigin-RevId: e08b6cbea02602538fa5189eeee574a9d65ce604
2018-03-04 17:59:18 +03:00
levlam
83b8a3a942 View messages in all chats.
GitOrigin-RevId: 19e415c997342b01f9d0f1323910e52fab2b6be8
2018-03-04 17:41:02 +03:00
levlam
75371b6399 Add Chat.can_be_reported.
GitOrigin-RevId: b1cf15ee0071bbb2ab6d026121eb9d2a0735e5b4
2018-03-04 17:14:37 +03:00
levlam
72908f6056 Document bytes JSON representation.
GitOrigin-RevId: 7b088bca29647806d1fe75db6d71eae22a348e27
2018-03-04 03:26:29 +03:00
levlam
40144546bb Silence MESSAGE_NOT_MODIFIED for regular users.
GitOrigin-RevId: 4cab24b760b68f378f48aeaed321889a2f3fa2ac
2018-03-04 02:09:08 +03:00
levlam
d64280c890 Update layer #76.
GitOrigin-RevId: d865abc2c8fb9b3b1350fcd689ef086de38aab3e
2018-03-04 00:33:26 +03:00
levlam
b5036975b8 Allow to specify message_ids in td_api::reportSpam.
GitOrigin-RevId: c77dcd89e58c38ac218204230620513c2cdda60d
2018-03-02 19:21:43 +03:00
levlam
51135ccd1e Add td_api::checkChatUsername.
GitOrigin-RevId: 290255ad825b08484657e08bab5ffab70c61afde
2018-03-02 02:19:00 +03:00
levlam
93c22e7047 Add expires_in to messageLocation.
GitOrigin-RevId: d713cdd57d8b534c3d123a81d28a51b3586bf491
2018-03-01 02:14:22 +03:00
levlam
fc7c618782 Return Chat in joinChatByInviteLink.
GitOrigin-RevId: ee8ad4f0de5001bad6519ab5f109ebb0f458f93a
2018-03-01 01:08:45 +03:00
levlam
802e7eb8a0 Fix Socks5.
GitOrigin-RevId: 1a11e4c8c24218ab5fdcb52f695957f30c8109e1
2018-02-28 23:25:42 +03:00
levlam
6c6544fd06 Move .Net Td API to Api namespace.
GitOrigin-RevId: 5a8a0c9ccd49575e6e15db354e60b027e0346b19
2018-02-28 21:38:21 +03:00
levlam
7c445958ed Improve logging.
GitOrigin-RevId: dcc5c492ecdc569ae2d85b5d36373e4f88b35ae2
2018-02-28 20:03:24 +03:00
levlam
1ac97a6ba7 Various fixes.
GitOrigin-RevId: 80fa34e64e6824a0f96c38d2e8b0a32455267ea8
2018-02-28 13:25:07 +03:00
levlam
83d845ad32 Move .Net classes to Telegram::Td namespace.
GitOrigin-RevId: 31d5cf030c30d7a1f58099decdcec265dbf6be0a
2018-02-28 04:11:29 +03:00
levlam
6eadf472fe Rename TdWindows to TdDotNet.
GitOrigin-RevId: 0bfff62c224dcbd316534649b119917280b3b398
2018-02-28 02:09:23 +03:00
levlam
c40ab5d8d6 Fix loading of sticker sets.
GitOrigin-RevId: dc3d4425181d154a0aa5dbc2b7e1042ef216a127
2018-02-27 04:14:47 +03:00
levlam
343b83c23c More calls to recalc_unread_message_count.
GitOrigin-RevId: 33435c2952192c876e6636534d12330c976b9bd0
2018-02-27 04:04:38 +03:00
levlam
8d16c86c73 Preload chats from server if there is no more chats in the database.
GitOrigin-RevId: b80b27fc423f9059edc103c94678dd2fd8fb01aa
2018-02-26 21:31:10 +03:00
levlam
57a6071c0f Replace empty first_name with phone_number.
GitOrigin-RevId: 3d19463a84d1aa074446382ff61e54f3f23563e1
2018-02-26 20:52:17 +03:00
levlam
b5f695de80 Fix crash on empty parameters in setTdlibParameters.
GitOrigin-RevId: 09ad208e356105af352134e1eabe6b30c95fdeb7
2018-02-26 12:59:46 +03:00