Class: MTProto::Type::RPC::Ping
- Inherits:
-
Object
- Object
- MTProto::Type::RPC::Ping
- Defined in:
- lib/mtproto/type/rpc/ping.rb
Constant Summary collapse
- CONSTRUCTOR =
0x7abe77ec
Class Method Summary collapse
Class Method Details
.build(ping_id) ⇒ Object
11 12 13 14 |
# File 'lib/mtproto/type/rpc/ping.rb', line 11 def self.build(ping_id) body = Serializer.serialize_int(CONSTRUCTOR) body + [ping_id].pack('Q<') end |