Deep links: Support start parameter for tg://resolve links (#1624)
This commit is contained in:
parent
f156be13ce
commit
9119a1afdd
@ -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,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user