reply_to property

MessageReplyTo get reply_to

Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual

Implementation

MessageReplyTo get reply_to {
  try {
    if (rawData["reply_to"] is Map == false) {
      return MessageReplyTo({});
    }
    return MessageReplyTo(rawData["reply_to"] as Map);
  } catch (e) {
    return MessageReplyTo({});
  }
}
set reply_to (MessageReplyTo value)

Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual

Implementation

set reply_to(MessageReplyTo value) {
  rawData["reply_to"] = value.toJson();
}