fix(client): accept formatted string in text inline msg builder
This commit is contained in:
parent
e68c9f4bb5
commit
51280d6494
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ export namespace BotInlineMessage {
|
|||
* @param params
|
||||
*/
|
||||
export function text(
|
||||
text: string,
|
||||
text: string | FormattedString<any>,
|
||||
params: Omit<InputInlineMessageText, 'type' | 'text'> = {}
|
||||
): InputInlineMessageText {
|
||||
const ret = params as tl.Mutable<InputInlineMessageText>
|
||||
|
|
Loading…
Reference in a new issue