openWebview ( client : ITelegramClient , params : { bot : InputPeerLike ; chat ?: InputPeerLike ; platform : | string & {} | "android" | "ios" | "tdesktop" | "macos" | "unigram" ; theme ?: | RawDataJSON | { accent_text_color ?: string ; bg_color ?: string ; button_color ?: string ; button_text_color ?: string ; destructive_text_color ?: string ; header_bg_color ?: string ; hint_color ?: string ; link_color ?: string ; secondary_bg_color ?: string ; section_bg_color ?: string ; section_header_text_color ?: string ; section_separator_color ?: string ; subtitle_text_color ?: string ; text_color ?: string ; } ; webview : InputWebview ; } , ) : Promise < WebviewResult > Parameters client : ITelegramClient params : { bot : InputPeerLike ; chat ?: InputPeerLike ; platform : | string & {} | "android" | "ios" | "tdesktop" | "macos" | "unigram" ; theme ?: | RawDataJSON | { accent_text_color ?: string ; bg_color ?: string ; button_color ?: string ; button_text_color ?: string ; destructive_text_color ?: string ; header_bg_color ?: string ; hint_color ?: string ; link_color ?: string ; secondary_bg_color ?: string ; section_bg_color ?: string ; section_header_text_color ?: string ; section_separator_color ?: string ; subtitle_text_color ?: string ; text_color ?: string ; } ; webview : InputWebview ; } platform : string & {} | "android" | "ios" | "tdesktop" | "macos" | "unigram" Optional
theme ?: | RawDataJSON | { accent_text_color ?: string ; bg_color ?: string ; button_color ?: string ; button_text_color ?: string ; destructive_text_color ?: string ; header_bg_color ?: string ; hint_color ?: string ; link_color ?: string ; secondary_bg_color ?: string ; section_bg_color ?: string ; section_header_text_color ?: string ; section_separator_color ?: string ; subtitle_text_color ?: string ; text_color ?: string ; } Defined in packages/core/src/highlevel/methods/bots/open-webview.ts:18
Open a webview.