Update TL.php
This commit is contained in:
parent
5d70ae57e6
commit
c0b1647627
@ -1070,7 +1070,7 @@ class TL
|
||||
if ($x['_'] === 'message' && isset($x['reply_markup']['rows'])) {
|
||||
foreach ($x['reply_markup']['rows'] as $key => $row) {
|
||||
foreach ($row['buttons'] as $bkey => $button) {
|
||||
$x['reply_markup']['rows'][$key]['buttons'][$bkey] = new Types\Button($this, $x, $button);
|
||||
$x['reply_markup']['rows'][$key]['buttons'][$bkey] = new Types\Button($this->API, $x, $button);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user