Web Bots: Fix after updating layer
This commit is contained in:
parent
86dc074d7d
commit
9732c16fc9
@ -179,6 +179,7 @@ export async function requestWebView({
|
||||
startParam,
|
||||
themeParams: theme ? buildInputThemeParams(theme) : undefined,
|
||||
fromBotMenu: isFromBotMenu || undefined,
|
||||
platform: 'web',
|
||||
...(sendAs && { sendAs: buildInputPeer(sendAs.id, sendAs.accessHash) }),
|
||||
}));
|
||||
|
||||
@ -203,6 +204,7 @@ export async function requestSimpleWebView({
|
||||
url,
|
||||
bot: buildInputPeer(bot.id, bot.accessHash),
|
||||
themeParams: theme ? buildInputThemeParams(theme) : undefined,
|
||||
platform: 'web',
|
||||
}));
|
||||
|
||||
return result?.url;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user