Layer 220
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:
MediaAreaVenue
Represents a location tag attached to a story, with additional venue information.
MediaAreaGeoPoint
Represents a geolocation tag attached to a story.
MediaAreaSuggestedReaction
Represents a reaction bubble.
InputMediaAreaVenue
Represents a location tag attached to a story, with additional venue information.
MediaAreaChannelPost
Represents a channel post.
InputMediaAreaChannelPost
Represents a channel post
MediaAreaUrl
Represents a URL media area.
MediaAreaWeather
Represents a weather widget.
MediaAreaStarGift
Represents a collectible gift.
Gogram Example
// MediaArea is an interface type // You can use any of the following constructors: var _ tg.MediaArea = &tg.MediaAreaVenue{} var _ tg.MediaArea = &tg.MediaAreaGeoPoint{} var _ tg.MediaArea = &tg.MediaAreaSuggestedReaction{} var _ tg.MediaArea = &tg.InputMediaAreaVenue{} var _ tg.MediaArea = &tg.MediaAreaChannelPost{} // ... and 4 more constructors