Skip to content

Commit c611ed4

Browse files
add "isRepliedMessage" helper function
1 parent f5fafff commit c611ed4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Helpers/Helper.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,16 @@ public static function isForwarded()
187187
return isset(self::$updateContent['forward_date']);
188188
}
189189

190+
/**
191+
* isRepliedMessage fucntion
192+
*
193+
* @return bool return true, if message is replied
194+
*/
195+
public static function isRepliedMessage()
196+
{
197+
return isset(self::$updateContent['reply_to_message']);
198+
}
199+
190200
/**
191201
* getId function
192202
*

0 commit comments

Comments
 (0)