MessageEntity constructor

MessageEntity({
  1. required String type,
  2. required int offset,
  3. required int length,
  4. String? url,
  5. User? user,
  6. String? language,
  7. String? customEmojiId,
})

Basic constructor

Implementation

MessageEntity({
  required this.type,
  required this.offset,
  required this.length,
  this.url,
  this.user,
  this.language,
  this.customEmojiId,
});