Skip to content

InputRichMessageContent is not working #859

Description

@ReoGentO

For some reason this code doesn't work (the message just isn't sent), though InlineTextMessageContent works

    results = [
        InlineQueryResultArticle(
            id=result_id,
            title="Rich",
            description="Rich",
            input_message_content=InputRichMessageContent(
                rich_message=InputRichMessage(
                    markdown=f"# Heading1",
                )
            )
        ),
    ]
    await query.answer(results=results, cache_time=1, is_personal=True)

Originally posted by @ReoGentO in aiogram/aiogram#1832

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions