From 6bbb65c9df6c432e41b8fe69e4bb9a96ad11743a Mon Sep 17 00:00:00 2001 From: delta-null Date: Thu, 26 Feb 2026 16:57:07 +0300 Subject: [PATCH] Open location in Yandex Go --- Telegram/BUILD | 1 + submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/Telegram/BUILD b/Telegram/BUILD index 279220ba6d0..cf54bf80aea 100644 --- a/Telegram/BUILD +++ b/Telegram/BUILD @@ -1551,6 +1551,7 @@ plist_fragment( foursquare here-location yandexmaps + yandextaxi yandexnavi comgooglemaps youtube diff --git a/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift b/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift index b335164ac46..8e9d5af96e1 100644 --- a/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift +++ b/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift @@ -330,6 +330,10 @@ private func allOpenInOptions(context: AccountContext, item: OpenInItem) -> [Ope return .openUrl(url: url) } })) + + options.append(OpenInOption(identifier: "yandexGo", application: .other(title: "Yangex Go", identifier: 472650686, scheme: "yandextaxi", store: nil), action: { + return .openUrl(url: "yandextaxi://route?end-lat=\(lat)&end-lon=\(lon)") + })) } return options }