no message

This commit is contained in:
Peter 2017-03-03 19:32:51 +04:00
parent 7c14fc1191
commit de5cba0182
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,8 @@ private func filterMessageAttributesForOutgoingMessage(_ attributes: [MessageAtt
return true
case _ as OutgoingMessageInfoAttribute:
return true
case _ as OutgoingContentInfoMessageAttribute:
return true
case _ as ReplyMarkupMessageAttribute:
return true
case _ as OutgoingChatContextResultMessageAttribute:

View File

@ -22,7 +22,7 @@ public struct OutgoingContentInfoFlags: OptionSet {
public class OutgoingContentInfoMessageAttribute: MessageAttribute {
public let flags: OutgoingContentInfoFlags
init(flags: OutgoingContentInfoFlags) {
public init(flags: OutgoingContentInfoFlags) {
self.flags = flags
}