Skip to content

How i can sendMediaGroup of photos via local files? #290

Closed

Description

@mrAndersen

How i can do that? Can't figure out how to pass file path into InputMediaPhoto::Ptr ;(

Activity

  1. reo7sp commented on Sep 14, 2026

    @reo7sp
    Owner

    Supported on master since #364. Set InputMediaPhoto::media to attach://<name> and add the matching InputFile::fromFile(...) entry to SendMediaGroupArgs::attachments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions