1
0
mirror of https://github.com/danog/Telegram.git synced 2025-01-22 05:52:06 +01:00
Telegram/Telegraph/TGGroupManagementSignals.h
2015-10-01 19:19:52 +03:00

17 lines
564 B
Objective-C

#import <Foundation/Foundation.h>
#import <SSignalKit/SSignalKit.h>
#import "TGGroupInvitationInfo.h"
@interface TGGroupManagementSignals : NSObject
+ (SSignal *)makeGroupWithTitle:(NSString *)title users:(NSArray *)users;
+ (SSignal *)exportGroupInvitationLink:(int32_t)groupId;
+ (SSignal *)groupInvitationLinkInfo:(NSString *)hash;
+ (SSignal *)acceptGroupInvitationLink:(NSString *)hash;
+ (SSignal *)updateGroupPhoto:(int64_t)peerId uploadedFile:(SSignal *)uploadedFile;
+ (SSignal *)inviteUserWithId:(int32_t)userId toGroupWithId:(int32_t)groupId;
@end