with webapp
like this
await client.send_message(user_id, 'message text', buttons=[
KeyboardButtonWebView('button text', 'https://fragment.com')
])
but get error:
telethon.errors.rpcerrorlist.ButtonTypeInvalidError: The type of one of the buttons you provided is invalid (caused by SendMessageRequest)
Is there any example how to build messages with such buttons ?
What's your library version
then upgrade it. or construct ReplyInlineMarkup manually
Обсуждают сегодня