Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inline photo show wrong title #4506

Open
3 tasks done
jw-star opened this issue Nov 10, 2024 · 0 comments
Open
3 tasks done

inline photo show wrong title #4506

jw-star opened this issue Nov 10, 2024 · 0 comments

Comments

@jw-star
Copy link

jw-star commented Nov 10, 2024

Code that causes the issue

            results = [
                builder.article(
                    id=res_id,
                    title='Send post',
                    text='xxxx',
                    buttons=[Button.url('xxx','t.me/xxx')]
                ),
                builder.photo(
                    id='22',
                    file= msg.photo,
                    text='ceshi'
                )
            ]
            await event.answer(results, cache_time=0, gallery=False)

Expected behavior

Able to display the title normally

Actual behavior

image

Traceback

No response

Telethon version

1.37

Python version

3.11

Operating system (including distribution name and version)

macos

Other details

No response

Checklist

  • The error is in the library's code, and not in my own.
  • I have searched for this issue before posting it and there isn't an open duplicate.
  • I ran pip install -U https://github.com/LonamiWebs/Telethon/archive/v1.zip and triggered the bug in the latest version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant