StarTransactionTypePaidMessageSend.fromJson constructor

StarTransactionTypePaidMessageSend.fromJson(
  1. Map<String, dynamic> json
)

Parses a StarTransactionTypePaidMessageSend from TDLib JSON.

Implementation

factory StarTransactionTypePaidMessageSend.fromJson(
  Map<String, dynamic> json,
) => StarTransactionTypePaidMessageSend(
  chatId: _readInt(json['chat_id']),
  messageCount: _readInt(json['message_count']),
);