Commit Graph

442 Commits

Author SHA1 Message Date
Andrea Cavalli
41e5ce21ac Merge commit '3d2067475e0764d4765b41aa372e5c3c10a5af5d'
Conflicts:
	td/telegram/MessagesManager.cpp
2020-10-01 14:53:43 +02:00
Andrea Cavalli
c83fc13a60 Merge commit '1d9989cbd700492ffe636385d5578946f62139d9'
Conflicts:
	td/telegram/ContactsManager.cpp
	td/telegram/ContactsManager.h
	td/telegram/MessagesDb.cpp
	td/telegram/MessagesManager.cpp
2020-10-01 13:22:37 +02:00
Andrea Cavalli
8255ff5ded Merge commit 'a6463970b1b6c88d81cd0360446248abb348f1b0' 2020-10-01 11:59:47 +02:00
Andrea Cavalli
b922e14de5 Merge commit '6d23ea4aa90d6a9815138efb832d45ee91cb984d'
Conflicts:
	td/telegram/files/FileManager.cpp
2020-10-01 11:52:14 +02:00
Andrea Cavalli
503488a801 Merge commit '4d47247fc135d63ec13b7521c74460bfda03e557' 2020-10-01 11:46:07 +02:00
Andrea Cavalli
24ee424c91 Merge commit '3aee3527511ce43ae670081f3f65a71e7c92ee2c'
Conflicts:
	td/telegram/MessagesDb.cpp
2020-10-01 11:42:54 +02:00
levlam
b751acc3ae Add td_api::getMessageThreadHistory.
GitOrigin-RevId: c5aaa396b1fcdd6704302296e407989ff19be0a0
2020-09-30 04:26:39 +03:00
levlam
605a968e51 Change is_anonymous field position.
GitOrigin-RevId: 7676dd1916881f24eba79f5692986b2d213b9a73
2020-09-28 01:15:56 +03:00
levlam
1fe397e43d Make optionValueInteger value int64.
GitOrigin-RevId: 7da1c4f051691ff7df31627115a9a37e6c5d5802
2020-09-25 00:46:16 +03:00
levlam
089fda8d13 Add blockChatFromReplies method.
GitOrigin-RevId: 45591f36bd5482d567c758b42572b953babe2537
2020-09-24 15:29:34 +03:00
levlam
25676d7ff0 Allow to specify message_thread_id in sendMessage/sendMessageAlbum/sendInlineQueryResult.
GitOrigin-RevId: b9d3545b42355c04afe305f05c0366b0bf3095b0
2020-09-23 01:52:16 +03:00
levlam
a83a356e44 Support local draft messages in message threads.
GitOrigin-RevId: f75e36f803b0aea5c6aff83831c31e0a312898db
2020-09-22 19:45:27 +03:00
levlam
3522d8dae0 Repalce getDiscussionMessage with getMessageThread.
GitOrigin-RevId: 8f5a828b3d1decf9c9c9061eaa706362b2b0272b
2020-09-22 17:27:35 +03:00
levlam
08ff725767 Support viewing messages in message threads.
GitOrigin-RevId: 5bde413f4192993e12b8e89ff5cb569421b90d78
2020-09-22 01:13:06 +03:00
levlam
2afbf38c33 Make universal offline getMessageLink method.
GitOrigin-RevId: 523db9044cfb2d41076ac98974d4a00f0740e2a6
2020-09-20 22:07:27 +03:00
levlam
8f4e9b2ed4 Add td_api::getMessageEmbeddingCode.
GitOrigin-RevId: cd26212418c3de5fc5046da456fad84f0f633d0d
2020-09-20 18:17:47 +03:00
levlam
446ba8d406 Replace getBlockedUsers with getBlockedChats.
GitOrigin-RevId: 431e0639095b9e01d1b897a52bca4430855560e4
2020-09-20 03:29:00 +03:00
levlam
54308a86fe Replace blockUser and unblockUser with toggleChatIsBlocked.
GitOrigin-RevId: 454542b32a7b8efc487afed54c59ae3864ea138e
2020-09-20 03:00:01 +03:00
levlam
bda5a3c5bd Allow sending chat actions inside message thread.
GitOrigin-RevId: 6ad0b659f957013fa493386ad808eb6767399253
2020-09-18 19:42:31 +03:00
levlam
1da8d859c9 Add for_group and for_comment in getMessageLink.
GitOrigin-RevId: 1ca027280f9e1013a1ad0ba20ed54ffbbcad2bb6
2020-09-17 16:47:27 +03:00
levlam
cd6cfc52ac Add td_api::getDiscussionMessage.
GitOrigin-RevId: 5adf174ae08f0cf3c430ea0222f818a54988823f
2020-09-15 17:07:34 +03:00
levlam
2cca74bf80 Use messages.getReplies when appropriate.
GitOrigin-RevId: cba140893d0b5d4c6d2b7f4c364947019b9e85d2
2020-09-15 02:42:59 +03:00
levlam
bc000b5a53 Add OptionParser::parse_string helper.
GitOrigin-RevId: 506b1d9c1b6cfb6029bb87e32a98f08b0d16b2d4
2020-09-14 14:51:52 +03:00
levlam
1cd9f5d8c9 Support generating of public links for comment messages.
GitOrigin-RevId: 68d9a0260e60719f129e05d32fcbf756e93fa5d4
2020-09-14 01:12:24 +03:00
levlam
c7a9e5980c tg_cli: support custom message ID separators in deleteMessages.
GitOrigin-RevId: f070685d2fee167e3679d57e84d70fff1f682f72
2020-09-13 01:31:08 +03:00
levlam
85be738d9d Support automatic forward of media albums as albums.
GitOrigin-RevId: cb1f6446eef0b49f944491d07e2d44fb67a2a1c8
2020-09-12 20:50:16 +03:00
levlam
7df0c5084a Fix updateShortMessage handling.
GitOrigin-RevId: 35c667af5646654ed9f8495774043adb10b12faf
2020-09-11 17:51:01 +03:00
levlam
01f3eecd85 Add support for is_anonymous administrator right.
GitOrigin-RevId: d0d46d961aebcc67275bb09ec883f6feaa465c63
2020-09-11 01:49:15 +03:00
levlam
0540ae7b60 Add min_date/max_date to searchMessages.
GitOrigin-RevId: a340969e431dd2de018461f3904da6569a91b166
2020-09-08 14:58:02 +03:00
levlam
1a6ca88777 Support search within message thread.
GitOrigin-RevId: 8ea2ac97000527d743b5a983eed57c3dd206b76c
2020-09-08 14:17:56 +03:00
Andrea Cavalli
cd2b97aac2 Fix windows build 2020-09-05 17:33:01 +02:00
Andrea Cavalli
2ee1930f65 Replaced checks abort() with death handlers 2020-09-02 01:11:38 +02:00
Andrea Cavalli
5f188a293a Update Client.cpp and cli.cpp 2020-09-01 22:52:32 +02:00
Andrea Cavalli
5a2ee4d91b Added death handler 2020-09-01 21:32:58 +02:00
levlam
1843e92961 Add td_api::getPhoneNumberInfo.
GitOrigin-RevId: bba065e87cf5d68026d7408c2a34770f6e4f931d
2020-08-25 13:42:14 +03:00
levlam
3860953251 Add td_api::getCountries.
GitOrigin-RevId: 1c70e6e267b9582afe50014ffc9d1ef81a33f123
2020-08-24 23:38:45 +03:00
levlam
552a0550c2 Add two new call problems.
GitOrigin-RevId: 036e7b52be8daa114fa919f560410b5edb09b461
2020-08-21 20:53:39 +03:00
levlam
fcd1cda312 Add filter support to searchMessages.
GitOrigin-RevId: 571b0ee894296c1e8c947939f7098a1566731461
2020-08-21 17:40:05 +03:00
levlam
f9c0ddae06 Add getMessagePublicForwards method.
GitOrigin-RevId: a0b16c241bcf3276c245423f7fff3f41751883b6
2020-08-21 14:47:43 +03:00
Andrea Cavalli
8c0ce47f61 Merge commit '3a626f6df2003e4cd834477de65dc900f074adda' 2020-08-20 15:31:08 +02:00
levlam
afc1d789de Fix chat photo deletion.
GitOrigin-RevId: c332a9580fbe5b9c8cd670a848f27c1eab05f126
2020-08-18 21:55:38 +03:00
levlam
605e0844fb Use string new_offset in FoundMessages.
GitOrigin-RevId: b0d013e7d2513cc39f1c07013c837e6adb7e924a
2020-08-18 15:10:03 +03:00
Andrea Cavalli
1ccc7c6c65 Merge commit '3282a873cb24b0c975b6929aeb71a00fc6a18b7c'
Conflicts:
	sqlite/sqlite/sqlite3.c
	sqlite/sqlite/sqlite3.h
	sqlite/sqlite/sqlite3ext.h
	sqlite/sqlite/sqlite3session.h
	tddb/td/db/SqliteDb.cpp
2020-08-18 13:55:47 +02:00
levlam
3c83aae127 Add CallbackWithPassword buttons support.
GitOrigin-RevId: 99e79f8975d50a9a87183dd78f2641711bbad28d
2020-08-18 09:32:37 +03:00
levlam
62b0582bec Update layer to 117. Support WebRTC call servers.
GitOrigin-RevId: 0db2aa89165760b8588a4ebd1c7cb77451e7c6d6
2020-08-10 18:37:03 +03:00
levlam
8fb53c6ec2 Allow to replace caption when message is copied.
GitOrigin-RevId: 6e190830d66916de2deb0b371185b7db6ea42b00
2020-08-11 10:35:19 +03:00
levlam
301d0577ba Add td_api::sendCallSignalingData.
GitOrigin-RevId: d14899cd97fb46d472bcb48fd4b51f568e995608
2020-08-10 11:34:28 +03:00
levlam
16c02c6b25 Rename sendMessageOptions to messageSendOptions.
GitOrigin-RevId: 70270e56ad61e21ad22f207adce6c27c2873f374
2020-08-09 15:14:30 +03:00
levlam
a404948707 Add MessageCopyOptions.
GitOrigin-RevId: a61b93c3c215c42c9a7f30195cc637187472751e
2020-08-09 14:18:08 +03:00
levlam
3fb0bdff15 tg_cli: fix OpenSSL initialization.
GitOrigin-RevId: 388f70155c7f3a1f5276886c1cb38131dd302adc
2020-08-08 21:56:34 +03:00