public class TypingStartEvent extends ChannelEvent
This event is dispatched by Discord.
Constructor and Description |
---|
TypingStartEvent(DiscordClient client,
long channelId,
long userId,
Instant startTime) |
Modifier and Type | Method and Description |
---|---|
Mono<MessageChannel> |
getChannel()
Requests to retrieve the
MessageChannel the user has started typing in. |
Snowflake |
getChannelId()
Gets the
Snowflake ID of the MessageChannel the user has started typing in. |
Instant |
getStartTime()
Gets the time at which the
User started typing in this event. |
Mono<User> |
getUser()
Requests to retrieve the
User who has started typing in this event. |
Snowflake |
getUserId()
|
String |
toString() |
public TypingStartEvent(DiscordClient client, long channelId, long userId, Instant startTime)
public Snowflake getChannelId()
Snowflake
ID of the MessageChannel
the user has started typing in.MessageChannel
the User
is typing in.public Mono<MessageChannel> getChannel()
MessageChannel
the user has started typing in.Mono
where, upon successful completion, emits the MessageChannel
the User
has
started typing in. If an error is received, it is emitted through the Mono
.public Mono<User> getUser()
User
who has started typing in this event.public Instant getStartTime()
User
started typing in this event.User
starting typing.