VideoMessageAdvertisement¶
Describes an advertisement to be shown while a video from a message is watched
VideoMessageAdvertisement(
unique_id: int53,
text: string,
min_display_duration: int32,
max_display_duration: int32,
can_be_reported: Bool,
sponsor: AdvertisementSponsor,
title: string,
additional_info: string
) → VideoMessageAdvertisement
unique_id¶
int53
Unique identifier of this result
text¶
string
Text of the advertisement
min_display_duration¶
int32
The minimum amount of time the advertisement must be displayed before it can be hidden by the user, in seconds
max_display_duration¶
int32
The maximum amount of time the advertisement must be displayed before it must be automatically hidden, in seconds
can_be_reported¶
Bool
True, if the advertisement can be reported to Telegram moderators through reportVideoMessageAdvertisement
sponsor¶
Information about the sponsor of the advertisement
title¶
string
Title of the sponsored message
additional_info¶
string
If non-empty, additional information about the sponsored message to be shown along with the message