Link¶
- class ftmgram.types.Link(*, url: str, name: str | None = None, photo_url: str | None = None, photo_width: int | None = None, photo_height: int | None = None)¶
Represents a link used as poll option media.
- Parameters:
url (
str) – HTTP URL of the link.name (
str, optional) – Title of the link.photo_url (
str, optional) – URL of the thumbnail for the link.photo_width (
int, optional) – Width of the thumbnail.photo_height (
int, optional) – Height of the thumbnail.