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 sendPhotoVideoViaTyping function #2678

Merged
merged 1 commit into from
Mar 31, 2024

Conversation

9cb14c1ec0
Copy link
Contributor

Changes proposed in this pull request

  • add sendPhotoVideoViaTyping function, that works by injecting keystrokes. As with the sendTextViaTyping function, this adds a layer of resiliency by giving multiple independent paths to accomplish tasks.

To test (it takes a while): npm install github:9cb14c1ec0/venom#typingupdates

}

private async typeMultiLine(content: string): Promise<void> {
content = content.replace('\r', '\n');

Check failure

Code scanning / CodeQL

Incomplete string escaping or encoding High

This replaces only the first occurrence of '\r'.
@orkestral orkestral merged commit 64b2a17 into orkestral:master Mar 31, 2024
2 of 4 checks passed
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.

2 participants