Struct ruma_events::room::third_party_invite::ThirdPartyInviteEvent [] [src]

pub struct ThirdPartyInviteEvent {
    pub content: ThirdPartyInviteEventContent,
    pub event_id: EventId,
    pub event_type: EventType,
    pub prev_content: Option<ThirdPartyInviteEventContent>,
    pub room_id: RoomId,
    pub state_key: String,
    pub unsigned: Option<Value>,
    pub user_id: UserId,
}

An invitation to a room issued to a third party identifier, rather than a matrix user ID.

Acts as an m.room.member invite event, where there isn't a target user_id to invite. This event contains a token and a public key whose private key must be used to sign the token. Any user who can present that signature may use this invitation to join the target room.

Fields

The event's content.

The unique identifier for the event.

The type of the event.

The previous content for this state key, if any.

The unique identifier for the room associated with this event.

A key that determines which piece of room state the event represents.

Additional key-value pairs not signed by the homeserver.

The unique identifier for the user associated with this event.

Trait Implementations

impl Clone for ThirdPartyInviteEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ThirdPartyInviteEvent
[src]

Formats the value using the given formatter.

impl Event for ThirdPartyInviteEvent
[src]

The event-type-specific payload this event carries.

The event's content.

The type of the event.

Extra top-level key-value pairs specific to this event type, but that are not under the content field. Read more

impl RoomEvent for ThirdPartyInviteEvent
[src]

The unique identifier for the event.

The unique identifier for the room associated with this event.

Additional key-value pairs not signed by the homeserver.

The unique identifier for the user associated with this event.

impl StateEvent for ThirdPartyInviteEvent
[src]

The previous content for this state key, if any.

A key that determines which piece of room state the event represents.