isReply method
Checks if the message is a reply to another message.
Example:
if (ctx.isReply()) {
await ctx.reply('You replied to a message!');
}
Implementation
bool isReply() {
return msg?.replyToMessage != null;
}
Checks if the message is a reply to another message.
Example:
if (ctx.isReply()) {
await ctx.reply('You replied to a message!');
}
bool isReply() {
return msg?.replyToMessage != null;
}