owpengram-server/internal/mtprotoedge
Astra 7fef8438c5 deps: bump github.com/iamxvbaba/td to v1.3.2
Matches upstream owpengram/owpengram-server's version. v1.3.2 collapses the
old per-kind KeyboardButtonClass sum type (KeyboardButton, KeyboardButtonURL,
KeyboardButtonCallback, KeyboardButtonRequestPeer, ...) into two unified
structs mirroring Telegram's actual current MTProto layer: KeyboardButton
(reply keyboards) and KeyboardInlineButton (inline keyboards), each carrying
a Text/Style pair plus a Type field (ButtonTypeClass / InlineButtonTypeClass)
that now holds what used to be the concrete Go type.

Migrated the two call sites (internal/rpc/convert_markup.go,
internal/rpc/bots_longtail.go) and their tests to the new shape. Behavior is
unchanged -- every button kind (callback, url, url_auth, web_view,
switch_inline, copy, request_phone, request_geo_location, request_poll,
request_peer, simple_web_view) still round-trips the same domain fields,
just read from/written to Type instead of the button's own concrete type.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-14 11:28:16 +01:00
..
admission.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
admission_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
auth_key_expiry_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
auth_key_switch_test.go fix(mtproto): sync accept TDLib reconnect service parity 2026-08-02 01:51:03 +08:00
bot_callback_e2e_test.go deps: bump github.com/iamxvbaba/td to v1.3.2 2026-09-14 11:28:16 +01:00
bot_e2e_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
conn.go sync: diagnose exact upload admission failures 2026-08-03 17:33:49 +08:00
conn_layer_profile.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
conn_mgmt_fixes_test.go refactor: sync sparse tlprofile runtime 2026-07-16 21:36:32 +08:00
connection_intake.go fix: sync same-port transport detection 2026-07-24 14:50:17 +08:00
connection_intake_test.go fix: sync MTProto startup and egress fixes 2026-07-13 19:05:41 +08:00
decrypt.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
decrypt_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
destroy_auth_key.go refactor: sync sparse tlprofile runtime 2026-07-16 21:36:32 +08:00
doc.go Initial open source release 2026-06-04 01:37:39 +08:00
duplicate_admission_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
e2e_test.go feat(loadtest): sync add real 500-session capacity harness 2026-08-02 12:05:00 +08:00
encrypted.go sync: accept TDLib zlib gzip_packed payloads 2026-08-03 17:33:49 +08:00
encrypted_test.go fix(mtproto): sync accept TDLib reconnect service parity 2026-08-02 01:51:03 +08:00
exchange.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
exchange_compat.go Merge remote-tracking branch 'upstream/main' into merge-gramsrv-9106877 2026-08-03 23:29:20 +03:00
exchange_test.go Merge remote-tracking branch 'upstream/main' into merge-gramsrv-9106877 2026-08-03 23:29:20 +03:00
flush_identity_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
frame_budget.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
frame_budget_test.go fix: sync same-port transport detection 2026-07-24 14:50:17 +08:00
handshake_reqpq_cap_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
helpers_test.go fix(mtproto): sync accept TDLib reconnect service parity 2026-08-02 01:51:03 +08:00
inbound_layer_rpc.go sync: diagnose exact upload admission failures 2026-08-03 17:33:49 +08:00
inbound_layer_rpc_test.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
inbound_preflight.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
inbound_preflight_bench_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
inbound_rpc.go fix(mtprotoedge): sync admit nested gzip RPC envelopes 2026-07-31 15:35:10 +08:00
inbound_rpc_batch_test.go fix(mtprotoedge): sync admit nested gzip RPC envelopes 2026-07-31 15:35:10 +08:00
inbound_rpc_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
layer_admission_budget_test.go sync: accept TDLib zlib gzip_packed payloads 2026-08-03 17:33:49 +08:00
layer_downgrade_test.go refactor: sync sparse tlprofile runtime 2026-07-16 21:36:32 +08:00
layer_profile_test.go refactor: sync sparse tlprofile runtime 2026-07-16 21:36:32 +08:00
layer_rpc_execution.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
layer_rpc_execution_test.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
layer_seed_test.go fix(mtproto): sync accept TDLib reconnect service parity 2026-08-02 01:51:03 +08:00
layer_updates.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
layer_updates_test.go refactor: sync sparse tlprofile runtime 2026-07-16 21:36:32 +08:00
logical_session.go refactor(mtproto): sync redesign RPC replay ownership 2026-08-02 01:51:03 +08:00
logical_session_test.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
login_e2e_test.go test(mtprotoedge): sync align app config e2e with inactive freeze fields 2026-07-27 20:57:59 +08:00
login_email_e2e_test.go Merge remote-tracking branch 'upstream/main' into merge-gramsrv-9106877 2026-08-03 23:29:20 +03:00
metrics.go feat(loadtest): sync add real 500-session capacity harness 2026-08-02 12:05:00 +08:00
metrics_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
new_session_uid_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
outbound.go feat(loadtest): sync add real 500-session capacity harness 2026-08-02 12:05:00 +08:00
outbound_required_control_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
outbound_scratch.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
outbound_test.go feat(loadtest): sync add real 500-session capacity harness 2026-08-02 12:05:00 +08:00
passkey_e2e_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
pending_flush_test.go refactor: sync sparse tlprofile runtime 2026-07-16 21:36:32 +08:00
production_compat_test.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
provisional_revocation_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
quick_ack_deadline_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
rpc_admission_tracker.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
rpc_capacity_error.go refactor(mtproto): sync redesign RPC replay ownership 2026-08-02 01:51:03 +08:00
rpc_delivery_coordinator_test.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
rpc_delivery_hook_executor_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
rpc_execution_budget.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
rpc_execution_ledger.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
rpc_execution_ledger_test.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
rpc_flight.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
rpc_flight_test.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
rpc_replay_restore.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
rpc_result_delivery_test.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
rpc_result_egress.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
rpc_result_egress_test.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
rpc_result_retention_budget_test.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
rpc_result_subscriber_budget.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
rpc_rewrap.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
rpc_rewrap_test.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
rpc_test.go feat(loadtest): sync add real 500-session capacity harness 2026-08-02 12:05:00 +08:00
rsakey.go Initial open source release 2026-06-04 01:37:39 +08:00
runtime_metrics.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
runtime_metrics_test.go refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
same_port_mux.go fix: sync same-port transport detection 2026-07-24 14:50:17 +08:00
same_port_mux_test.go perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
seq_validate_test.go perf: sync dispatch hot path optimizations 2026-07-06 14:27:03 +08:00
server.go Merge remote-tracking branch 'upstream/main' into merge-gramsrv-9106877 2026-08-03 23:29:20 +03:00
server_test.go fix: sync same-port transport detection 2026-07-24 14:50:17 +08:00
session_activation_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
session_barrier_integration_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
session_boundary_test.go refactor(mtproto): sync redesign RPC replay ownership 2026-08-02 01:51:03 +08:00
session_manager.go Merge remote-tracking branch 'upstream/main' into merge-gramsrv-9106877 2026-08-03 23:29:20 +03:00
session_manager_bench_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
session_manager_test.go fix(mtproto): sync accept TDLib reconnect service parity 2026-08-02 01:51:03 +08:00
session_membership_gen_test.go refactor: sync sparse tlprofile runtime 2026-07-16 21:36:32 +08:00
session_ready_test.go fix: sync correct collectible username projection 2026-08-02 19:32:18 +08:00
shutdown_gate_test.go fix: sync scoped connection and outbox exclusion updates 2026-07-12 12:01:53 +08:00
structural_limits_test.go sync: accept TDLib zlib gzip_packed payloads 2026-08-03 17:33:49 +08:00
transient_push_test.go feat: sync ephemeral transient messages 2026-07-20 16:43:27 +08:00
transport_compat.go fix: sync same-port transport detection 2026-07-24 14:50:17 +08:00
transport_compat_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
transport_detection.go fix: sync same-port transport detection 2026-07-24 14:50:17 +08:00
transport_detection_test.go fix: sync same-port transport detection 2026-07-24 14:50:17 +08:00
transport_ownership.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
transport_ownership_test.go feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00