mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
AIOG-T-80 field live_period added to Location class
This commit is contained in:
parent
1a00fec59f
commit
c561710ac2
1 changed files with 3 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import typing
|
||||
|
||||
from . import base
|
||||
from . import fields
|
||||
|
||||
|
|
@ -10,3 +12,4 @@ class Location(base.TelegramObject):
|
|||
"""
|
||||
longitude: base.Float = fields.Field()
|
||||
latitude: base.Float = fields.Field()
|
||||
live_period: typing.Optional[base.Integer] = fields.Field()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue