Enable sending messages with pills

This commit is contained in:
aringenbach
2022-05-02 13:35:35 +02:00
parent 968c2e34c5
commit 8d65cd8a40
17 changed files with 555 additions and 175 deletions

View File

@@ -19,6 +19,7 @@
#import "MediaPickerViewController.h"
@class RoomActionsBar;
@class RoomInputToolbarView;
/**
Destination of the message in the composer
@@ -54,6 +55,8 @@ typedef enum : NSUInteger
*/
- (void)roomInputToolbarViewDidOpenActionMenu:(MXKRoomInputToolbarView*)toolbarView;
- (void)roomInputToolbarView:(RoomInputToolbarView *)toolbarView sendAttributedTextMessage:(NSAttributedString *)attributedTextMessage;
@end
/**
@@ -102,6 +105,13 @@ typedef enum : NSUInteger
*/
@property (nonatomic, weak, readonly) UIButton *attachMediaButton;
/**
The current attributed text message in message composer.
*/
@property (nonatomic) NSAttributedString *attributedTextMessage;
@property (nonatomic, readonly) UIFont *textDefaultFont;
/**
Adds a voice message toolbar view to be displayed inside this input toolbar
*/