mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-28 04:06:57 +02:00
38 lines
980 B
Objective-C
38 lines
980 B
Objective-C
/*
|
|
Copyright 2024 New Vector Ltd.
|
|
Copyright 2016 OpenMarket Ltd
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
Please see LICENSE in the repository root for full details.
|
|
*/
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
/**
|
|
The `RoomEmailInvitation` represents the information extracted from the link in an
|
|
invitation email.
|
|
*/
|
|
@interface RoomEmailInvitation : NSObject
|
|
|
|
/**
|
|
The invitation parameters.
|
|
Can be nil.
|
|
*/
|
|
@property (nonatomic, readonly) NSString *email;
|
|
@property (nonatomic, readonly) NSString *signUrl;
|
|
@property (nonatomic, readonly) NSString *roomName;
|
|
@property (nonatomic, readonly) NSString *roomAvatarUrl;
|
|
@property (nonatomic, readonly) NSString *inviterName;
|
|
@property (nonatomic, readonly) NSString *guestAccessToken;
|
|
@property (nonatomic, readonly) NSString *guestUserId;
|
|
|
|
|
|
/**
|
|
Contructor and parser of the query params of the email link.
|
|
|
|
@param params the query parameters extracted from the link.
|
|
*/
|
|
- (instancetype)initWithParams:(NSDictionary*)params;
|
|
|
|
@end
|