1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/Telegraph/TGContactMessageViewModel.h

21 lines
675 B
C
Raw Normal View History

2014-07-10 16:11:09 +02:00
/*
* This is the source code of Telegram for iOS v. 1.1
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Peter Iakovlev, 2013.
*/
#import "TGMessageViewModel.h"
2015-10-01 18:19:52 +02:00
#import "TGContentBubbleViewModel.h"
2014-07-10 16:11:09 +02:00
@interface TGContactMessageViewModel : TGMessageViewModel
2015-10-01 18:19:52 +02:00
- (instancetype)initWithMessage:(TGMessage *)message contact:(TGUser *)contact authorPeer:(id)authorPeer context:(TGModernViewContext *)context;
2014-07-10 16:11:09 +02:00
2016-02-25 01:03:51 +01:00
- (void)setForwardHeader:(id)forwardPeer forwardAuthor:(id)forwardAuthor messageId:(int32_t)messageId;
2015-10-01 18:19:52 +02:00
- (void)setReplyHeader:(TGMessage *)replyHeader peer:(id)peer;
2014-07-10 16:11:09 +02:00
@end