Commit Graph

355 Commits

Author SHA1 Message Date
levlam
242c39dc91 Improve README.
GitOrigin-RevId: 846c79e12b2df885629b5dc86e0d22e4538cdd4f
2018-03-18 00:11:14 +03:00
levlam
88d5e5e015 Exclude trending stickers from getStickers.
GitOrigin-RevId: 52655e51077a48ac2bea6320f2c4be0aa5c18127
2018-03-17 20:24:21 +03:00
Arseny Smirnov
6a943c0b78 Better DelayDispatcher
GitOrigin-RevId: c856d47d82c9384ad0cc69723b2d324af14ba844
2018-03-17 20:06:16 +03:00
levlam
3856045a08 Autogenerate TDLib .NET documentation.
GitOrigin-RevId: 9a73b2786306b8b2deaeb967aa4633d1d1ed0a2d
2018-03-17 00:26:27 +03:00
levlam
070f6ff184 Disable hpp documentation for .NET.
GitOrigin-RevId: 4969d3196aeae0c7398bc06d5285df443a79f379
2018-03-16 18:41:09 +03:00
levlam
a80b8e951a Remove C++ documentation when compiling for .NET. Enable .NET documentation generation.
GitOrigin-RevId: 426774bdad76bf42ceb261029589441961673ac8
2018-03-16 18:29:16 +03:00
levlam
65fc8f9809 Remove logging to ERROR.
GitOrigin-RevId: ee5a540cd62ee4722a770c1007a37756a0edc906
2018-03-16 15:38:12 +03:00
levlam
6e880f7ea0 Enable DelayDispacher. Improve errors and logging.
GitOrigin-RevId: e8d648e14183fe4a9409555eff5c6e167b5bcca2
2018-03-16 15:33:44 +03:00
levlam
bc7599925e Better Photo suggested names.
GitOrigin-RevId: 21ef626dda95163216d26a2eae0dec8729d11365
2018-03-16 15:20:01 +03:00
Arseny Smirnov
284895eefa Delete file bugfix
GitOrigin-RevId: 642e053e52057945d872cc22b95d54bc47cf5dc5
2018-03-16 14:50:21 +03:00
Arseny Smirnov
43fc3a21df Send download queries with a small delay (turned off)
GitOrigin-RevId: 91932bb550176ee7d9ff22621e86a42ac6be9317
2018-03-16 12:31:23 +03:00
levlam
d96aab7aeb Add phone_number to authenticationCodeInfo.
GitOrigin-RevId: 3bbf8676c1a1891b84753cc2ca489bcff52c780b
2018-03-15 19:59:57 +03:00
levlam
3b569010aa Add documentation to ClientDotNet and LogDotNet.
GitOrigin-RevId: 4683cfb7198430314539780fa793898ff6c36e96
2018-03-15 19:25:51 +03:00
Arseny Smirnov
710f71701a AuthManager: persistent State::WaitPassword
GitOrigin-RevId: dd863c2484b16da1700e280b13adc01facb7c8bb
2018-03-15 13:06:26 +03:00
levlam
6855704b52 Better AuthManager storers and parsers.
GitOrigin-RevId: 20e1e7ed3591d1f99c0661164360822dd6d0b3e6
2018-03-14 22:47:08 +03:00
levlam
c9a9e386e5 Check message content type in on_get_recent_locations.
GitOrigin-RevId: 50f343e2f8a6e023b50d57663a4b7f27e6f4088c
2018-03-14 21:57:04 +03:00
levlam
23cd9f656f Fix warning.
GitOrigin-RevId: 220da64c77eb25f99fa620ff72065a31d0674117
2018-03-14 21:48:36 +03:00
levlam
0b54ca677b Better cancel_user_dialog_action.
GitOrigin-RevId: f7b9518af4f98a2f36bece905b6a2e7222cda28c
2018-03-14 21:36:28 +03:00
Arseny Smirnov
85d10e91c3 Store in db AuthManager in state WaitCode
GitOrigin-RevId: 06df8525c60f4de347c694e8c212a138c151ac4c
2018-03-14 21:04:41 +03:00
levlam
c10ac96cc9 Various fixes.
GitOrigin-RevId: 3880e2fc5b8704f163817699ec1043f2f7a39b83
2018-03-14 17:43:00 +03:00
levlam
9a4617fee3 Add IPv6 DC addresses.
GitOrigin-RevId: 03f79d00d679869d42c5557586e0af2a72b62a23
2018-03-14 15:27:55 +03:00
levlam
1b75824e3e Better README.md.
GitOrigin-RevId: 1eb3febfd362c2e32a5ed4b1bf38ce88652bd2c0
2018-03-13 22:45:00 +03:00
Arseny Smirnov
7504f81b72 tg_cli: fix send document command
GitOrigin-RevId: 9f210b4d1080c8aa2cafb7a53b073d191edaf35e
2018-03-13 19:10:26 +03:00
Arseny Smirnov
7eb7f540e2 Add debug
GitOrigin-RevId: 2ad27272b5896f1e3acc125cb7da64ef1d9f6b3b
2018-03-13 19:09:59 +03:00
Arseny Smirnov
600bbcf3ca Protect G()->td_db() usage in AuthDataShared with guard
GitOrigin-RevId: d9e8a79c9db9b061de81f98fcd66f085d4efcaaa
2018-03-13 16:40:02 +03:00
levlam
52f45abf65 Handle chatAction timeouts.
GitOrigin-RevId: acd087bf97f6ff39af8111b1c8d984f72f041467
2018-03-13 20:48:08 +03:00
levlam
8eaea5d4af Send updateUserChatAction from on_user_dialog_action.
GitOrigin-RevId: 6af5402efa9ac21b9054278c839d982b4fbdcb6e
2018-03-13 11:57:58 +03:00
levlam
86666a8418 Cancel previous setEncryptedTyping query.
GitOrigin-RevId: dcebab6bae15c25def5f7c6bc15f03fffea66ef4
2018-03-13 11:08:56 +03:00
levlam
62e1f418e2 Fix inline query type detection.
GitOrigin-RevId: 09dda10c23f587efb790237d5e50009c1a10a599
2018-03-13 02:12:51 +03:00
levlam
d9e76824ab Fix CE.
GitOrigin-RevId: e271b99a124cfdac7a15e78d50594402bcdc75a4
2018-03-13 01:21:41 +03:00
levlam
85c2cc160d Add textEntityTypePhoneNumber.
GitOrigin-RevId: b8705ec13104848c5ae0597aee6cf4e6f41762db
2018-03-13 00:17:29 +03:00
levlam
c489e3b91d Automatically send ChatAction while files are uploaded.
GitOrigin-RevId: 45c27ab71ede8c0f82265b34b752e03ffc1c1c8c
2018-03-12 23:33:56 +03:00
levlam
8b2df8c233 Add new get_simple_config URL.
GitOrigin-RevId: 911173a3eb4756590745adafb9e10fdbe741f105
2018-03-12 21:04:03 +03:00
levlam
1d7a59023a Add C# example.
GitOrigin-RevId: ab6991abd7c7dccbdd3821c41c85eb3e96c0e8a8
2018-03-12 02:38:07 +03:00
levlam
1dd2e28551 Fix C++/CLI.
GitOrigin-RevId: fd48669cdc54fafa3475dbd1aa6ab7cd49055a23
2018-03-11 23:49:38 +03:00
levlam
e3d0534318 Add license to examples.
GitOrigin-RevId: 08a9ab881773d660229e5e5941ac9462156570b4
2018-03-11 03:43:55 +03:00
levlam
3823aa73e8 Fix error code.
GitOrigin-RevId: b91a357cd115be02df17a141d2c7627ad1e4f4d2
2018-03-10 17:52:27 +03:00
levlam
96f720063a Fix duplicated userStatusOffline updates.
GitOrigin-RevId: a3086638e2550297c58e7913a081d423ac2d03ed
2018-03-10 17:23:43 +03:00
levlam
6f1f64c892 Better local online status update.
GitOrigin-RevId: 941945d3e0b366e4fcd1ed7712f388422968cd28
2018-03-10 17:10:23 +03:00
levlam
7cb577dd6f Cancel previous update status queries.
GitOrigin-RevId: fcf23cf66267327faae001c69fa773cff84f4e88
2018-03-10 14:41:59 +03:00
levlam
6422e77e15 Load installed sticker sets before changing sticker set.
GitOrigin-RevId: f4794d3c65327aa173030f6e53aaccc23875aff0
2018-03-10 14:15:23 +03:00
levlam
2a58cfd1b9 Add td_api::searchStickers method.
GitOrigin-RevId: e9615b7e2cdab0b7419f6cfbbf2289787233a693
2018-03-09 20:04:44 +03:00
levlam
a4fe4c93b3 New stickers by empji suggestions.
GitOrigin-RevId: 6396bb77310fc86cec1cb6d4fd13b5e782ffd7a3
2018-03-09 18:00:07 +03:00
levlam
88ad4a370c Sort wallpapers by size.
GitOrigin-RevId: 497dc15ea3f6b8c5cd0bc0f2e6ce65a338d19b90
2018-03-09 16:56:42 +03:00
levlam
9633b50112 Postpone authorizationStateReady if my_id isn't known.
GitOrigin-RevId: afa8d365f527672dc53424b03fff775a28569189
2018-03-09 04:17:38 +03:00
levlam
9fb92d8293 Restore unknown my_id in AuthManager.
GitOrigin-RevId: 00463e66676aba887ef3c12c7d8225ef224c0bc0
2018-03-09 03:52:12 +03:00
levlam
8ae5083073 Better getMe.
GitOrigin-RevId: 31a9ceaa4727f74ef30cd95a44c2520249fea10b
2018-03-09 03:27:39 +03:00
levlam
5986bb7df0 Send updateOption("my_id") before authorizationStateReady.
GitOrigin-RevId: 73fdce38a87ffb6fcea8bfa8b059f83dcd510007
2018-03-09 00:42:25 +03:00
levlam
b9b35ebe0a Better suggeste_name for thumbnails and profile photos.
GitOrigin-RevId: 4313c9677fcdc07131d19be36ba66fdb137558df
2018-03-08 23:12:31 +03:00
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
levlam
736882a2dc Fix misprint.
GitOrigin-RevId: d2329c52a0f41570949bb3e66fd24f2e158704c3
2018-03-07 15:49:54 +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
0fb474be9b Fix field description.
GitOrigin-RevId: fbd944431a912b305df5a43bcaee7dd774701b5b
2018-03-06 01:46:38 +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
a741fe7925 Minor fixes.
GitOrigin-RevId: beff71eb64dee126727d8be2a18b09ee99d4fe40
2018-02-28 04:22:17 +03:00
levlam
83d845ad32 Move .Net classes to Telegram::Td namespace.
GitOrigin-RevId: 31d5cf030c30d7a1f58099decdcec265dbf6be0a
2018-02-28 04:11:29 +03:00
levlam
1b2367c866 Add Value instead of Data when class is shadowed by property.
GitOrigin-RevId: d4c48fcf34b10af09471c0fe132cc9e1a871566a
2018-02-28 03:06:42 +03:00
levlam
6eadf472fe Rename TdWindows to TdDotNet.
GitOrigin-RevId: 0bfff62c224dcbd316534649b119917280b3b398
2018-02-28 02:09:23 +03:00
levlam
9874d08701 Fix CMake.
GitOrigin-RevId: 38fc033a7ad632824393760d157d094002598a00
2018-02-28 01:03:38 +03:00
levlam
c40ab5d8d6 Fix loading of sticker sets.
GitOrigin-RevId: dc3d4425181d154a0aa5dbc2b7e1042ef216a127
2018-02-27 04:14:47 +03:00