You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When I want to recalled the message which I have send just now, I don't know the message unique id of it in Wechaty.
Describe the solution you'd like
The return type of function xxx.say() should change from Promise<void> to Promise<string>, let's make it return the message id for extend options.
For example:
publicasynccontact.say(text: string): Promise<string>constmsgId=awaitcontact.say('hello')constmessagePayload=awaitbot.Message.load(msgId)// do something with the `messagePayload`
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
[enhancement]
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When I want to recalled the message which I have send just now, I don't know the message unique id of it in Wechaty.
Describe the solution you'd like
The return type of function
xxx.say()
should change fromPromise<void>
toPromise<string>
, let's make it return the message id for extend options.For example:
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
[enhancement]
The text was updated successfully, but these errors were encountered: