Methods
location
- location(params: { latitude: number; longitude: number }): RawMediaAreaGeoPoint
Parameters
- params: { latitude: number; longitude: number }
latitude: number
longitude: number
reaction
- reaction(
reaction: InputReaction,
params?: { dark?: boolean; flipped?: boolean },
): RawMediaAreaSuggestedReaction Parameters
- reaction: InputReaction
- params: { dark?: boolean; flipped?: boolean } = {}
Optional
dark?: boolean
Optional
flipped?: boolean
url
- url(url: string): RawMediaAreaUrl
venue
- venue(
params: {
address: string;
latitude: number;
longitude: number;
source: VenueSource;
title: string;
},
): RawMediaAreaVenue Parameters
- params: {
address: string;
latitude: number;
longitude: number;
source: VenueSource;
title: string;
}address: string
latitude: number
longitude: number
title: string
venueFromInline
- venueFromInline(queryId: Long, resultId: string): RawInputMediaAreaVenue
Parameters
- queryId: Long
- resultId: string
Static
at
- at(
params: {
height: number;
rotation?: number;
width: number;
x: number;
y: number;
},
): StoryElement Parameters
- params: { height: number; rotation?: number; width: number; x: number; y: number }
Constructor for interactive story elements.
Example