no message

This commit is contained in:
Peter
2016-12-16 20:32:40 +03:00
parent 3dff4492ae
commit 4fbe718159
9 changed files with 1052 additions and 33 deletions

View File

@@ -187,7 +187,7 @@ public final class TelegramChannel: Peer {
public let restrictionInfo: PeerAccessRestrictionInfo?
public var indexName: PeerIndexNameRepresentation {
return .title(self.title)
return .title(title: self.title, addressName: self.username)
}
public init(id: PeerId, accessHash: Int64?, title: String, username: String?, photo: [TelegramMediaImageRepresentation], creationDate: Int32, version: Int32, participationStatus: TelegramChannelParticipationStatus, role: TelegramChannelRole, info: TelegramChannelInfo, flags: TelegramChannelFlags, restrictionInfo: PeerAccessRestrictionInfo?) {