Skip to content

Conversation

@r0ld3x
Copy link

@r0ld3x r0ld3x commented May 4, 2025

This PR adds support for the protect_content field in SendVideo and SendPhoto requests. Setting this field to true ensures that the sent media is protected — i.e., it cannot be forwarded or saved by the recipient.

✅ What’s added

  • ProtectContent bool json:"protect_content,omitempty" field added to:
    • Video
    • Photo
  • protect_content included in API request parameters when set to true.

Added protect_content  in Video and Photo to mark it as secure no forwards no save
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

Successfully merging this pull request may close these issues.

1 participant