Regela
45446e1752
Add --td-proxy for routing MTProto traffic through SOCKS5/HTTP/MTProto proxy
...
The upstream --proxy option only affects outgoing webhook requests, leaving
no way to route connections to Telegram MTProto datacenters through a proxy.
This is a blocker in restricted network environments where direct egress to
149.154.x.x is unavailable but a SOCKS5/HTTP CONNECT proxy is reachable.
Add a new --td-proxy=URL option that parses one of:
- socks5://[user:pass@]host:port
- socks5h://[user:pass@]host:port (same as socks5 — TDLib always resolves remotely)
- http://[user:pass@]host:port
- mtproto://secret@host:port
The parsed parameters are passed to TDLib via td_api::addProxy with
enable=true, sent before setTdlibParameters so the very first network
attempt is already routed through the proxy.
Verified end-to-end with gost: both socks5 and http modes route MTProto
to DC IPs (149.154.x.x:443) via the proxy with no direct egress.
4 weeks ago
levlam
01a3679c0b
Update version to 10.0.
1 month ago
levlam
54e70f717b
Add sendLivePhoto.
1 month ago
levlam
640c904f86
Support InputMediaLivePhoto.
1 month ago
levlam
eb6fc396eb
Add InputPaidMediaLivePhoto.
1 month ago
levlam
ea77886558
Support live_photo in Message and ExternalReplyInfo.
1 month ago
levlam
27134d849c
Support live photo in PollMedia.
1 month ago
levlam
7477330470
Add PaidMediaLivePhoto.
1 month ago
levlam
49d4b31cd2
Support poll and explanation media upload.
2 months ago
levlam
758e8d0f70
Support adding media to poll options.
2 months ago
levlam
25e4994382
Add Client::get_input_poll_media.
2 months ago
levlam
d85ae5ad10
Add separate Client::get_input_media.
2 months ago
levlam
a1049eb400
Add and use Client::get_venue.
2 months ago
levlam
2a2239c70a
Add and use Client::get_location.
2 months ago
levlam
4379a62534
Add and use Client::get_input_thumbnail.
2 months ago
levlam
4d5a446936
Return media in polls.
2 months ago
levlam
8e456a1f66
Add getUserPersonalChatMessages.
2 months ago
levlam
bda9f10aa3
Add answerGuestQuery.
2 months ago
levlam
696d523e8a
Store reply for guest messages.
2 months ago
levlam
17f4f0a42d
Add "guest_message" updates.
2 months ago
levlam
fb0d5002db
Add Message.guest_bot_caller_user/guest_bot_caller_chat.
2 months ago
levlam
55bacb718f
Add User.supports_guest_queries.
2 months ago
levlam
4ff98edbc7
Support Poll/sendPoll.country_codes.
2 months ago
levlam
3d9faf954b
Support Poll/sendPoll.members_only.
2 months ago
levlam
5a73f44842
Add deleteAllMessageReactions.
2 months ago
levlam
cb0ee53e21
Add deleteMessageReaction.
2 months ago
levlam
de6f7d889d
Add ChatMemberRestricted/ChatPermissions.can_react_to_messages.
2 months ago
levlam
363d7a2df1
Add setManagedBotAccessSettings.
2 months ago
levlam
32ce130674
Add get_user_ids.
2 months ago
levlam
8d944f89e8
Add getManagedBotAccessSettings.
2 months ago
levlam
68a258e9dd
Update TDLib to 1.8.64.
2 months ago
levlam
e8d350b659
Add and use json_store_message_sender.
2 months ago
levlam
6ba35983a3
Add and use add_message_update.
2 months ago
levlam
4cd53aa866
Allow bot usernames for chat identifiers.
2 months ago
levlam
73c41fb004
Use get_sticker_set_names in TdOnGetStarTransactionsCallback.
2 months ago
levlam
d7b2b493da
Remove redundant class specification.
2 months ago
levlam
bf6a7b1197
Use get_sticker_set_names in TdOnGetGiftsCallback.
2 months ago
levlam
8b5fd5d79a
Load sticker sets for received gifts.
2 months ago
levlam
9c1d63044b
Load gift sticker set identifiers.
2 months ago
levlam
f96546bae2
Support polls in get_message_content_sticker_set_ids.
2 months ago
levlam
102c7175e5
Remove now unused get_message_sticker_set_ids specialization.
2 months ago
levlam
0af4776bb4
Inline drop_internal_reply_to_message_in_another_chat.
2 months ago
levlam
b46fd3596f
Improve get_same_chat_reply_to_message_id.
2 months ago
levlam
8ccb42b795
Store MessageInfo in new message queue.
2 months ago
levlam
3cb912b816
Add and use create_message instead of init_message.
2 months ago
levlam
f531d0cd17
Improve Client::init_message.
2 months ago
levlam
85a38e2057
Remove explicit set of queue.has_active_request_.
2 months ago
levlam
6fe1d8e762
Remove TdOnGetStickerSetCallback.
2 months ago
levlam
f3c7d42233
Inline have_sticker_set_name.
2 months ago
levlam
1d69ef8551
Use get_sticker_set_names in init_message.
2 months ago