struct

Telegram::ProximityAlertTriggered

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: ProximityAlertTriggered This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user.

Constructors

new(traveler : User, watcher : User, distance : Int64)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(traveler _traveler = @traveler, watcher _watcher = @watcher, distance _distance = @distance)
Source
distance
traveler
watcher