Compare commits
4 Commits
b743aa5813
...
268c3a9210
Author | SHA1 | Date |
---|---|---|
_run | 268c3a9210 | |
Badiboy | 9fb5f89f18 | |
Oleg Belov | 409ff49603 | |
Albert | 5e0da40fcd |
|
@ -266,7 +266,7 @@ def test_callback(call): # <- passes a CallbackQuery type object to your functio
|
||||||
|
|
||||||
#### Shipping Query Handler
|
#### Shipping Query Handler
|
||||||
Handle shipping queries
|
Handle shipping queries
|
||||||
`@bot.shipping_query_handeler() # <- passes a ShippingQuery type object to your function`
|
`@bot.shipping_query_handler() # <- passes a ShippingQuery type object to your function`
|
||||||
|
|
||||||
#### Pre Checkout Query Handler
|
#### Pre Checkout Query Handler
|
||||||
Handle pre checkoupt queries
|
Handle pre checkoupt queries
|
||||||
|
|
|
@ -3224,7 +3224,7 @@ class TeleBot:
|
||||||
:rtype: :class:`telebot.types.ChatInviteLink`
|
:rtype: :class:`telebot.types.ChatInviteLink`
|
||||||
"""
|
"""
|
||||||
return types.ChatInviteLink.de_json(
|
return types.ChatInviteLink.de_json(
|
||||||
apihelper.edit_chat_invite_link(self.token, chat_id, name, invite_link, expire_date, member_limit, creates_join_request)
|
apihelper.edit_chat_invite_link(self.token, chat_id, invite_link, name, expire_date, member_limit, creates_join_request)
|
||||||
)
|
)
|
||||||
|
|
||||||
def revoke_chat_invite_link(
|
def revoke_chat_invite_link(
|
||||||
|
|
|
@ -4084,7 +4084,7 @@ class AsyncTeleBot:
|
||||||
:rtype: :class:`telebot.types.ChatInviteLink`
|
:rtype: :class:`telebot.types.ChatInviteLink`
|
||||||
"""
|
"""
|
||||||
return types.ChatInviteLink.de_json(
|
return types.ChatInviteLink.de_json(
|
||||||
await asyncio_helper.edit_chat_invite_link(self.token, chat_id, name, invite_link, expire_date, member_limit, creates_join_request)
|
await asyncio_helper.edit_chat_invite_link(self.token, chat_id, invite_link, name, expire_date, member_limit, creates_join_request)
|
||||||
)
|
)
|
||||||
|
|
||||||
async def revoke_chat_invite_link(
|
async def revoke_chat_invite_link(
|
||||||
|
|
Loading…
Reference in New Issue