CreateNewBasicGroupChat

public struct CreateNewBasicGroupChat : Codable, Equatable, TDFunction

Creates a new basic group and sends a corresponding messageBasicGroupChatCreate. Returns the newly created chat

  • Undocumented

    Declaration

    Swift

    public typealias Result = Chat
  • Identifiers of users to be added to the basic group

    Declaration

    Swift

    public let userIds: [Int32]
  • Title of the new basic group; 1-128 characters

    Declaration

    Swift

    public let title: String
  • Creates a new basic group and sends a corresponding messageBasicGroupChatCreate. Returns the newly created chat

    Declaration

    Swift

    public init(userIds: [Int32], title: String)

    Parameters

    userIds

    Identifiers of users to be added to the basic group

    title

    Title of the new basic group; 1-128 characters