pub type OriginalUnstablePollResponseEvent = OriginalMessageLikeEvent<UnstablePollResponseEventContent>;Expand description
An org.matrix.msc3381.poll.response event.
Aliased Type§
pub struct OriginalUnstablePollResponseEvent {
pub content: UnstablePollResponseEventContent,
pub event_id: OwnedEventId,
pub sender: OwnedUserId,
pub origin_server_ts: MilliSecondsSinceUnixEpoch,
pub room_id: OwnedRoomId,
pub unsigned: MessageLikeUnsigned<UnstablePollResponseEventContent>,
}Fields§
§content: UnstablePollResponseEventContentData specific to the event type.
event_id: OwnedEventIdThe globally unique identifier for the event.
sender: OwnedUserIdThe fully-qualified ID of the user who sent this event.
origin_server_ts: MilliSecondsSinceUnixEpochTimestamp on the originating homeserver when this event was sent.
room_id: OwnedRoomIdThe ID of the room associated with this event.
unsigned: MessageLikeUnsigned<UnstablePollResponseEventContent>Additional key-value pairs not signed by the homeserver.
Implementations§
Source§impl OriginalUnstablePollResponseEvent
impl OriginalUnstablePollResponseEvent
Sourcepub fn data(&self) -> PollResponseData<'_>
pub fn data(&self) -> PollResponseData<'_>
Get the data from this response necessary to compile poll results.