Class TypingStartEvent


  • public class TypingStartEvent
    extends ChannelEvent
    Dispatched when a user starts typing in a message channel.

    This event is dispatched by Discord.

    See Also:
    Typing Start
    • Method Detail

      • getGuildId

        public Optional<Snowflake> getGuildId()
        Gets the Snowflake ID of the Guild the user has started typing in, if this happened in a guild.
        Returns:
        The Snowflake ID of the Guild the user has started typing in, if this happened in a guild.
      • getChannel

        public Mono<MessageChannel> getChannel()
        Requests to retrieve the MessageChannel the user has started typing in.
        Returns:
        A 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.
      • getUserId

        public Snowflake getUserId()
        Gets the Snowflake ID of the User who has started typing in this event.
        Returns:
        The ID of the User who has started typing.
      • getUser

        public Mono<User> getUser()
        Requests to retrieve the User who has started typing in this event.
        Returns:
        A Mono where, upon successful completion, emits the User that has started typing. If an error is received, it is emitted through the Mono.
      • getStartTime

        public Instant getStartTime()
        Gets the time at which the User started typing in this event.
        Returns:
        The time at which the User starting typing.
      • getMember

        public Optional<Member> getMember()
        Gets the Member who started typing, if this happened in a guild.
        Returns:
        The Member who started typing, if this happened in a guild.