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

Allow sending files by uploading them in SendMediaGroup #76

Closed
unreal4u opened this issue Jan 8, 2018 · 3 comments
Closed

Allow sending files by uploading them in SendMediaGroup #76

unreal4u opened this issue Jan 8, 2018 · 3 comments
Assignees

Comments

@unreal4u
Copy link
Owner

unreal4u commented Jan 8, 2018

This ticket is related to #75 .

Right now, it's only possible to send files already uploaded on the Telegram servers or by passing an URL so that Telegram can download it.

It is however, not possible yet to upload several files in one go trough SendMediaGroup, which should however be possible.

Investigate how to enable and implement this.

@unreal4u
Copy link
Owner Author

Note: this doesn't work for either v2 and v3

@unreal4u unreal4u changed the title Allow sending files through uploading them in SendMediaGroup Allow sending files by uploading them in SendMediaGroup Apr 23, 2018
@unreal4u
Copy link
Owner Author

PR #95 did the photos part, I'll pick this up and integrate videos as well.

@unreal4u
Copy link
Owner Author

unreal4u commented Jun 5, 2019

So after a pretty big refactor, I came up with a solution I'm finally happy with to deal with this issue. For an example of how this works now, please refer to the example file: https://github.com/unreal4u/telegram-api/blob/master/examples/send-media-group.php .

I'll be creating a new release soon which will include a lot of updates as well.

@unreal4u unreal4u closed this as completed Jun 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant