Chat

@objc(GetSocialChat)
@objcMembers
public class Chat : NSObject

Describe group object.

  • id

    Chat identifier

    Declaration

    Swift

    @objc(chatId)
    public internal(set) var id: String { get }
  • Declaration

    Swift

    public internal(set) var title: String { get }
  • Avatar Url

    Declaration

    Swift

    public internal(set) var avatarUrl: String? { get }
  • Creation date

    Declaration

    Swift

    public internal(set) var createdAt: Int64 { get }
  • Last update

    Declaration

    Swift

    public internal(set) var updatedAt: Int64 { get }
  • Number of members

    Declaration

    Swift

    public internal(set) var membersCount: Int { get }
  • Last message.

    Declaration

    Swift

    public internal(set) var lastMessage: ChatMessage? { get }
  • Other member.

    Declaration

    Swift

    public internal(set) var otherMember: User? { get }
  • Description.

    Declaration

    Swift

    public override var description: String { get }