Deep links: Support start parameter for tg://resolve links (#1624)

This commit is contained in:
Alexander Zinchuk 2022-01-05 17:46:01 +01:00
parent f156be13ce
commit 9119a1afdd

View File

@ -29,7 +29,7 @@ export const processDeepLink = (url: string) => {
switch (method) {
case 'resolve': {
const {
domain, post, comment, voicechat, livestream,
domain, post, comment, voicechat, livestream, start,
} = params;
if (domain !== 'telegrampassport') {
@ -43,6 +43,7 @@ export const processDeepLink = (url: string) => {
username: domain,
messageId: Number(post),
commentId: Number(comment),
startParam: start,
});
}
}