- Preparing search index...
- The search index is not available
docs.hg.fi
Methods
Static
createRoomGuestAccessEventDTO
Static
createRoomHistoryVisibilityEventDTO
Static
createRoomJoinRulesEventDTO
Static
createRoomMemberEventDTO
- createRoomMemberEventDTO(userId: string, membership: RoomMembershipState, reason?: string, avatar_url?: string, displayname?: string, is_direct?: boolean, join_authorised_via_users_server?: string, third_party_invite?: RoomMemberContent3rdPartyInviteDTO): RoomMemberStateEventDTO
-
Parameters
-
userId: string
-
-
Optional
reason: string
-
Optional
avatar_url: string
-
Optional
displayname: string
-
Optional
is_direct: boolean
-
Optional
join_authorised_via_users_server: string
-
Static
getRoomAlias
- getRoomAlias(alias: string, hostname: string): string
-
Parameters
-
alias: string
-
hostname: string
Returns string
Static
getRoomId
- getRoomId(id: string, hostname: string): string
-
Parameters
-
id: string
-
hostname: string
Returns string
Static
getRoomPresetFromVisibility
Static
getRoomStateEventsFromPreset
Static
getUserId
- getUserId(username: string, hostname: string): string
-
Parameters
-
username: string
-
hostname: string
Returns string
Get default preset from visibility setting
See
https://spec.matrix.org/v1.2/client-server-api/#post_matrixclientv3createroom