mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
- struct init visibility
This commit is contained in:
parent
c7292fa83f
commit
3eec8d9ab8
1 changed files with 8 additions and 0 deletions
|
|
@ -14,6 +14,14 @@ public struct TelegramPeerPhoto {
|
|||
public let index: Int
|
||||
public let totalCount: Int
|
||||
public let messageId: MessageId?
|
||||
public init(image: TelegramMediaImage, reference: TelegramMediaImageReference?, date: Int32, index: Int, totalCount: Int, messageId: MessageId?) {
|
||||
self.image = image
|
||||
self.reference = reference
|
||||
self.date = date
|
||||
self.index = index
|
||||
self.totalCount = totalCount
|
||||
self.messageId = messageId
|
||||
}
|
||||
}
|
||||
|
||||
public func requestPeerPhotos(postbox: Postbox, network: Network, peerId: PeerId) -> Signal<[TelegramPeerPhoto], NoError> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue