2021-01-26 21:20:52 +02:00
|
|
|
#######################
|
|
|
|
|
stopMessageLiveLocation
|
|
|
|
|
#######################
|
|
|
|
|
|
|
|
|
|
Returns: :obj:`Union[Message, bool]`
|
|
|
|
|
|
|
|
|
|
.. automodule:: aiogram.methods.stop_message_live_location
|
|
|
|
|
:members:
|
|
|
|
|
:member-order: bysource
|
|
|
|
|
:undoc-members: True
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Usage
|
|
|
|
|
=====
|
|
|
|
|
|
|
|
|
|
As bot method
|
|
|
|
|
-------------
|
|
|
|
|
|
|
|
|
|
.. code-block::
|
|
|
|
|
|
|
|
|
|
result: Union[Message, bool] = await bot.stop_message_live_location(...)
|
|
|
|
|
|
|
|
|
|
|
2022-10-22 00:29:29 +03:00
|
|
|
As message method
|
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
|
|
.. code-block::
|
|
|
|
|
|
|
|
|
|
result: Union[Message, bool] = await message.stop_live_location(...)
|
|
|
|
|
|
|
|
|
|
|
2021-01-26 21:20:52 +02:00
|
|
|
Method as object
|
|
|
|
|
----------------
|
|
|
|
|
|
|
|
|
|
Imports:
|
|
|
|
|
|
|
|
|
|
- :code:`from aiogram.methods.stop_message_live_location import StopMessageLiveLocation`
|
|
|
|
|
- alias: :code:`from aiogram.methods import StopMessageLiveLocation`
|
|
|
|
|
|
|
|
|
|
With specific bot
|
|
|
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
|
|
.. code-block:: python
|
|
|
|
|
|
|
|
|
|
result: Union[Message, bool] = await bot(StopMessageLiveLocation(...))
|
|
|
|
|
|
|
|
|
|
As reply into Webhook in handler
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
|
|
.. code-block:: python
|
|
|
|
|
|
2021-05-11 23:04:32 +03:00
|
|
|
return StopMessageLiveLocation(...)
|