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

docs: updated examples using the outdated reply method #2265

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

gekkedev
Copy link
Contributor

Fixes #2198 .

Changes proposed in this pull request

Updated it to no longer feature the deperecated reply() method.

Partially untested.

Question:
What is sendMessageOptions good for? It has a signature similar to sendText (but less strongly typed). Should it be deprecated?

sendText(to: string, content: string, options?: TextMessageOptions): Promise<Message>;
sendMessageOptions(chat: any, content: any, options?: any): Promise<Message>;

Copy link

@gekkedev, ⭐5 XP earned, 🏆First Pull Request Pushed completed, 💪Level 4 achieved!
Contribute more to raise your XP/Level, complete challenges for extra achievements! [Sign up for personal dashboard]

icon

@gekkedev gekkedev changed the title doc: updated examples using the outdated reply method docs: updated examples using the outdated reply method Jul 22, 2024
@gekkedev
Copy link
Contributor Author

@icleitoncosta feel free to check; this is adjusted according to your replies (and works for me now, obrigado again).
The commit is recreated now with a compliant title.

@icleitoncosta icleitoncosta merged commit 1272156 into wppconnect-team:master Aug 5, 2024
5 checks passed
Copy link

Pull Request Summary by devActivity

Metrics

Cycle Time: 23d 9h 19m Comments: 2

Achievements

@gekkedev gekkedev deleted the patch-7 branch October 4, 2024 17:16
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.

message reply method not working as expected
2 participants