mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-10 00:24:51 +00:00
Update inline_keyboard_button_buy.py
This commit is contained in:
parent
0a844bd5ed
commit
e5232850cb
1 changed files with 5 additions and 1 deletions
|
|
@ -17,6 +17,7 @@
|
|||
# along with Pyrofork. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from ..object import Object
|
||||
from pyrogram import raw
|
||||
|
||||
class InlineKeyboardButtonBuy(Object):
|
||||
"""One button of the inline keyboard.
|
||||
|
|
@ -42,4 +43,7 @@ class InlineKeyboardButtonBuy(Object):
|
|||
text=b.text
|
||||
)
|
||||
|
||||
# TODO: Implement write method
|
||||
async def write(self, client):
|
||||
return raw.types.KeyboardButtonBuy(
|
||||
text=self.text,
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue