mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Conference calls
This commit is contained in:
@@ -77,7 +77,7 @@ public enum ContactMultiselectionControllerMode {
|
||||
}
|
||||
}
|
||||
|
||||
case groupCreation
|
||||
case groupCreation(isCall: Bool)
|
||||
case peerSelection(searchChatList: Bool, searchGroups: Bool, searchChannels: Bool)
|
||||
case channelCreation
|
||||
case chatSelection(ChatSelection)
|
||||
@@ -110,7 +110,23 @@ public final class ContactMultiselectionControllerParams {
|
||||
public let openProfile: ((EnginePeer) -> Void)?
|
||||
public let sendMessage: ((EnginePeer) -> Void)?
|
||||
|
||||
public init(context: AccountContext, updatedPresentationData: (initial: PresentationData, signal: Signal<PresentationData, NoError>)? = nil, title: String? = nil, mode: ContactMultiselectionControllerMode, options: Signal<[ContactListAdditionalOption], NoError> = .single([]), filters: [ContactListFilter] = [.excludeSelf], onlyWriteable: Bool = false, isGroupInvitation: Bool = false, isPeerEnabled: ((EnginePeer) -> Bool)? = nil, attemptDisabledItemSelection: ((EnginePeer, ChatListDisabledPeerReason) -> Void)? = nil, alwaysEnabled: Bool = false, limit: Int32? = nil, reachedLimit: ((Int32) -> Void)? = nil, openProfile: ((EnginePeer) -> Void)? = nil, sendMessage: ((EnginePeer) -> Void)? = nil) {
|
||||
public init(
|
||||
context: AccountContext,
|
||||
updatedPresentationData: (initial: PresentationData, signal: Signal<PresentationData, NoError>)? = nil,
|
||||
title: String? = nil,
|
||||
mode: ContactMultiselectionControllerMode,
|
||||
options: Signal<[ContactListAdditionalOption], NoError> = .single([]),
|
||||
filters: [ContactListFilter] = [.excludeSelf],
|
||||
onlyWriteable: Bool = false,
|
||||
isGroupInvitation: Bool = false,
|
||||
isPeerEnabled: ((EnginePeer) -> Bool)? = nil,
|
||||
attemptDisabledItemSelection: ((EnginePeer, ChatListDisabledPeerReason) -> Void)? = nil,
|
||||
alwaysEnabled: Bool = false,
|
||||
limit: Int32? = nil,
|
||||
reachedLimit: ((Int32) -> Void)? = nil,
|
||||
openProfile: ((EnginePeer) -> Void)? = nil,
|
||||
sendMessage: ((EnginePeer) -> Void)? = nil
|
||||
) {
|
||||
self.context = context
|
||||
self.updatedPresentationData = updatedPresentationData
|
||||
self.title = title
|
||||
|
||||
Reference in New Issue
Block a user