ChatId

@objcMembers
@objc(GetSocialChatId)
public final class ChatId : NSObject

Describe a chat id.

  • Create new ChatId instance.

    Declaration

    Swift

    @objc(createWithId:)
    public static func create(_ id: String) -> ChatId

    Parameters

    id

    Chat id.

    Return Value

    New ChatId instance.

  • Create new ChatId instance with user Id.

    • id: User Id.

    Declaration

    Swift

    @objc(createWithUserId:)
    public static func create(_ userId: UserId) -> ChatId

    Return Value

    New ChatId instance.

  • Description.

    Declaration

    Swift

    public override var description: String { get }