Layer 227
MediaArea
Abstract type representing one of 9 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.MediaArea interface.
Use any of the following constructors:
InputMediaAreaChannelPost
Represents a channel post
InputMediaAreaVenue
Represents a location tag attached to a story, with additional venue information.
MediaAreaChannelPost
Represents a channel post.
MediaAreaGeoPoint
Represents a geolocation tag attached to a story.
MediaAreaStarGift
Represents a collectible gift.
MediaAreaSuggestedReaction
Represents a reaction bubble.
MediaAreaUrl
Represents a URL media area.
MediaAreaVenue
Represents a location tag attached to a story, with additional venue information.
MediaAreaWeather
Represents a weather widget.
Gogram Example
// MediaArea is an interface type // You can use any of the following constructors: var _ tg.MediaArea = &tg.InputMediaAreaChannelPost{} var _ tg.MediaArea = &tg.InputMediaAreaVenue{} var _ tg.MediaArea = &tg.MediaAreaChannelPost{} var _ tg.MediaArea = &tg.MediaAreaGeoPoint{} var _ tg.MediaArea = &tg.MediaAreaStarGift{} // ... and 4 more constructors