export declare abstract class PollMediaBuilder
The base poll media builder that contains common symbols for poll media builders.
protectedreadonlyPartial<APIPollMedia> data :
The API data associated with this poll media.
setTexttext: string) : this (
text: string
Sets the text for this poll media.
abstract toJSONvalidationOverride?: boolean) : APIPollMedia (
validationOverride?: boolean
Serializes this builder to API-compatible JSON data.Note that by disabling validation, there is no guarantee that the resulting object will be valid.