Skip to content

Add ephemeral parameters to sendLivePhoto - #85

Merged
iamwavecut merged 1 commit into
masterfrom
fix-sendlivephoto-ephemeral-params
Jul 15, 2026
Merged

Add ephemeral parameters to sendLivePhoto#85
iamwavecut merged 1 commit into
masterfrom
fix-sendlivephoto-ephemeral-params

Conversation

@iamwavecut

Copy link
Copy Markdown
Collaborator

Summary

  • add optional ReceiverUserID and CallbackQueryID fields to SendLivePhotoConfig
  • serialize them as receiver_user_id and callback_query_id
  • cover sendLivePhoto in the Bot API 10.2 ephemeral-send contract test

Verification

  • go test -run TestBotAPI102EphemeralSendParams -count=1 -v .
  • go test -race -shuffle=on -count=1 -timeout=10m ./...
  • go vet ./...
  • go test -tags api_parity -run ^TestAPIParity -v .
  • git diff --check

@iamwavecut
iamwavecut requested a review from zhuk-kk as a code owner July 15, 2026 23:54
@iamwavecut
iamwavecut force-pushed the fix-sendlivephoto-ephemeral-params branch from 92bd416 to e86cfb8 Compare July 15, 2026 23:56
@iamwavecut
iamwavecut merged commit aca8bf3 into master Jul 15, 2026
2 checks passed
@iamwavecut
iamwavecut deleted the fix-sendlivephoto-ephemeral-params branch July 15, 2026 23:57
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