Class: Discorb::GatewayHandler::TypingStartEvent
- Inherits:
-
GatewayEvent
- Object
- GatewayEvent
- Discorb::GatewayHandler::TypingStartEvent
- Defined in:
- lib/discorb/gateway.rb
Overview
Represents a TYPING_START
event.
Instance Attribute Summary collapse
- #channel ⇒ nil, Discorb::Channel readonly
- #guild ⇒ nil, Discorb::Guild readonly
- #user ⇒ nil, Discorb::User readonly
-
#user_id ⇒ Discorb::Snowflake
readonly
The ID of the channel the user is typing in.
Instance Attribute Details
#channel ⇒ nil, Discorb::Channel (readonly)
Note:
This method returns an object from client cache. it will return nil
if the object is not in cache.
|
# File 'lib/discorb/gateway.rb', line 354
|
#guild ⇒ nil, Discorb::Guild (readonly)
Note:
This method returns an object from client cache. it will return nil
if the object is not in cache.
|
# File 'lib/discorb/gateway.rb', line 354
|
#user ⇒ nil, Discorb::User (readonly)
Note:
This method returns an object from client cache. it will return nil
if the object is not in cache.
|
# File 'lib/discorb/gateway.rb', line 354
|
#user_id ⇒ Discorb::Snowflake (readonly)
Returns The ID of the channel the user is typing in.
352 353 354 |
# File 'lib/discorb/gateway.rb', line 352 def user_id @user_id end |