Skip to content

Commit 466752d

Browse files
committed
Add Request tests
1 parent a307e67 commit 466752d

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

src/Request.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,22 @@ public static function editMessageCaption(array $data)
804804
return self::send('editMessageCaption', $data);
805805
}
806806

807+
/**
808+
* Edit message reply markup
809+
*
810+
* @param array $data
811+
*
812+
* @return mixed
813+
*/
814+
public static function editMessageReplyMarkup(array $data)
815+
{
816+
if (empty($data)) {
817+
throw new TelegramException('Data is empty!');
818+
}
819+
820+
return self::send('editMessageReplyMarkup', $data);
821+
}
822+
807823
/**
808824
* Get bot commands
809825
*

0 commit comments

Comments
 (0)