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) {
|
switch (method) {
|
||||||
case 'resolve': {
|
case 'resolve': {
|
||||||
const {
|
const {
|
||||||
domain, post, comment, voicechat, livestream,
|
domain, post, comment, voicechat, livestream, start,
|
||||||
} = params;
|
} = params;
|
||||||
|
|
||||||
if (domain !== 'telegrampassport') {
|
if (domain !== 'telegrampassport') {
|
||||||
@ -43,6 +43,7 @@ export const processDeepLink = (url: string) => {
|
|||||||
username: domain,
|
username: domain,
|
||||||
messageId: Number(post),
|
messageId: Number(post),
|
||||||
commentId: Number(comment),
|
commentId: Number(comment),
|
||||||
|
startParam: start,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user