mirror of
https://github.com/danog/Telegram.git
synced 2024-12-03 09:57:46 +01:00
34 lines
1.3 KiB
C
34 lines
1.3 KiB
C
|
#import "TGBridgeMediaAttachment.h"
|
||
|
|
||
|
typedef enum
|
||
|
{
|
||
|
TGBridgeMessageActionNone = 0,
|
||
|
TGBridgeMessageActionChatEditTitle = 1,
|
||
|
TGBridgeMessageActionChatAddMember = 2,
|
||
|
TGBridgeMessageActionChatDeleteMember = 3,
|
||
|
TGBridgeMessageActionCreateChat = 4,
|
||
|
TGBridgeMessageActionChatEditPhoto = 5,
|
||
|
TGBridgeMessageActionContactRequest = 6,
|
||
|
TGBridgeMessageActionAcceptContactRequest = 7,
|
||
|
TGBridgeMessageActionContactRegistered = 8,
|
||
|
TGBridgeMessageActionUserChangedPhoto = 9,
|
||
|
TGBridgeMessageActionEncryptedChatRequest = 10,
|
||
|
TGBridgeMessageActionEncryptedChatAccept = 11,
|
||
|
TGBridgeMessageActionEncryptedChatDecline = 12,
|
||
|
TGBridgeMessageActionEncryptedChatMessageLifetime = 13,
|
||
|
TGBridgeMessageActionEncryptedChatScreenshot = 14,
|
||
|
TGBridgeMessageActionEncryptedChatMessageScreenshot = 15,
|
||
|
TGBridgeMessageActionCreateBroadcastList = 16,
|
||
|
TGBridgeMessageActionJoinedByLink = 17,
|
||
|
TGBridgeMessageActionChannelCreated = 18,
|
||
|
TGBridgeMessageActionChannelCommentsStatusChanged = 19,
|
||
|
TGBridgeMessageActionChannelInviter = 20
|
||
|
} TGBridgeMessageAction;
|
||
|
|
||
|
@interface TGBridgeActionMediaAttachment : TGBridgeMediaAttachment
|
||
|
|
||
|
@property (nonatomic, assign) TGBridgeMessageAction actionType;
|
||
|
@property (nonatomic, strong) NSDictionary *actionData;
|
||
|
|
||
|
@end
|