Class: RubyCord::Client::Gateway::Event::TypingStartEvent
- Inherits:
-
RubyCord::Client::Gateway::Event
- Object
- RubyCord::Client::Gateway::Event
- RubyCord::Client::Gateway::Event::TypingStartEvent
- Defined in:
- lib/rubycord/client/gateway/event.rb
Overview
Represents a TYPING_START
event.
Instance Attribute Summary collapse
- #channel ⇒ nil, RubyCord::Channel readonly
- #guild ⇒ nil, RubyCord::Guild readonly
- #user ⇒ nil, ... (also: #member) readonly
-
#user_id ⇒ RubyCord::Snowflake
readonly
The ID of the channel the user is typing in.
Method Summary
Methods inherited from RubyCord::Client::Gateway::Event
Instance Attribute Details
#channel ⇒ nil, RubyCord::Channel (readonly)
Note:
This method returns an object from client cache. it will return nil
if the object is not in cache.
|
# File 'lib/rubycord/client/gateway/event.rb', line 469
|
#guild ⇒ nil, RubyCord::Guild (readonly)
Note:
This method returns an object from client cache. it will return nil
if the object is not in cache.
|
# File 'lib/rubycord/client/gateway/event.rb', line 469
|
#user ⇒ nil, ... (readonly) Also known as: member
Note:
This method returns an object from client cache. it will return nil
if the object is not in cache.
|
# File 'lib/rubycord/client/gateway/event.rb', line 469
|
#user_id ⇒ RubyCord::Snowflake (readonly)
Returns The ID of the channel the user is typing in.
467 468 469 |
# File 'lib/rubycord/client/gateway/event.rb', line 467 def user_id @user_id end |