Package 

Class Mention.Role

  • All Implemented Interfaces:
    io.getstream.chat.android.ui.common.feature.messages.composer.mention.Mention

    
    public final class Mention.Role
     implements Mention
                        

    A role mention (e.g. @admin).

    • Constructor Detail

      • Mention.Role

        Mention.Role(String role)
        Parameters:
        role - The role name.
    • Method Detail

      • getDisplay

         String getDisplay()

        The primary display text of the mention, used when inserting a token into the composer. Implementations must guarantee a non-empty value so autocomplete and linkification produce a stable @token even when the underlying source lacks a human-readable name.