SjMessageSendsDto class

Данные cообщения отправляемые к api urls.apiMsgSend.

Annotations
  • @immutable

Constructors

SjMessageSendsDto({int? chatId, required String? text, List<String>? images, int? replyId, List<double>? geopoint, Map<String, dynamic>? payload})
Данные cообщения отправляемые к api urls.apiMsgSend.
const
SjMessageSendsDto.fromJson(Map map)

Properties

chatId int?
Уникальный айди чата сообщения. При отсутсвии будет считать равным 1.
final
geopoint List<double>?
Данные геометки.
final
hashCode int
The hash code for this object.
no setterinherited
images List<String>?
Ссылки на прикрепленные фотографии.
final
payload Map<String, dynamic>?
Произвольные JSON данные пользователей связанные с сообщением.
final
replyId int?
Айди сообщения на который был произведен ответ.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
Текст сообщения. Да он может отсутсвовать.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited