ProximityAlertTriggered class

This object represents the content of a service message,

sent whenever a user in the chat triggers a proximity alert set by another user.

https://core.telegram.org/bots/api#proximityalerttriggered

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake)

Constructors

ProximityAlertTriggered({required User traveler, required User watcher, required int distance})
ProximityAlertTriggered.fromJson(Map<String, dynamic> json)
factory

Properties

distance int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
traveler User
getter/setter pair
watcher User
getter/setter pair

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