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

add Story / Stories feature support #452

Open
Geczy opened this issue Aug 8, 2023 · 11 comments
Open

add Story / Stories feature support #452

Geczy opened this issue Aug 8, 2023 · 11 comments

Comments

@Geczy
Copy link

Geczy commented Aug 8, 2023

allow adding stories programmatically

@Geczy Geczy changed the title add Stories feature support add Story / Stories feature support Aug 8, 2023
@vinicius73
Copy link

That will be a very useful feature

@levlam
Copy link
Contributor

levlam commented Aug 17, 2023

Bots can't be added to contacts, so currently no users will be able to see stories sent by bots in their story feeds anyway.

@Geczy
Copy link
Author

Geczy commented Aug 18, 2023

It’s for self bots

@RememberTheAir
Copy link

RememberTheAir commented Aug 18, 2023

"self bots" can already do anything a user can, included sending and seeing stories

@Geczy
Copy link
Author

Geczy commented Aug 18, 2023

"self bots" can already do anything a user can, included sending and sending and seeing stories

okay, show me the code where self bots can send and see stories? the point was having a telegram api library that i can use in my apps, not to have to reverse engineer and send the protobuff calls myself

@levlam
Copy link
Contributor

levlam commented Aug 18, 2023

not to have to reverse engineer and send the protobuff calls myself

All official Telegram apps are open-source, so there is no need to reverse engineer anything. Also, none of them use protobuf.

@Geczy
Copy link
Author

Geczy commented Aug 18, 2023 via email

@ars-h
Copy link

ars-h commented Aug 23, 2023

"self bots" can already do anything a user can, included sending and sending and seeing stories

okay, show me the code where self bots can send and see stories? the point was having a telegram api library that i can use in my apps, not to have to reverse engineer and send the protobuff calls myself

did you find a way to do it?

@RememberTheAir
Copy link

RememberTheAir commented Aug 23, 2023

For reference, this is tdlib's tl schema, which lists all available methods that can be used by any client using the users API (including "self bots") (CTRL+F "stories", or the stories.* namespace). It's up to whoever maintains the framework you're using (tdlib, pyrogram, whatever) to update it and expose the related methods to use the new functions and types.

Bots can't be added to contacts, so currently no users will be able to see stories sent by bots in their story feeds anyway.

From this answer I assume that bot accounts are not forbidden from publishing stories so I guess one could update the bot api so it exposed the methods to publish stories, but nobody would be able to see them, right?

@levlam
Copy link
Contributor

levlam commented Aug 23, 2023

From this answer I assume that bot accounts are not forbidden from publishing stories so I guess one could update the bot api so it exposed the methods to publish stories, but nobody would be able to see them, right?

Bots can't publish stories, because it is useless now.

@spiral009
Copy link

Ayo how to pyrogram to upload stories on user account

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

6 participants