Class TdApi.UpdateNewMessage

  • Enclosing class:
    TdApi

    public static class TdApi.UpdateNewMessage
    extends TdApi.Update
    A new message was received; can also be an outgoing message.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      boolean containsMention
      True, if the message contains a mention of the current user.
      boolean disableNotification
      True, if this message must not generate a notification.
      TdApi.Message message
      The new message.
    • Constructor Summary

      Constructors 
      Constructor Description
      UpdateNewMessage()
      Default constructor.
      UpdateNewMessage​(TdApi.Message message, boolean disableNotification, boolean containsMention)
      Constructor for initialization of all fields.
    • Field Detail

      • disableNotification

        public boolean disableNotification
        True, if this message must not generate a notification.
      • containsMention

        public boolean containsMention
        True, if the message contains a mention of the current user.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • UpdateNewMessage

        public UpdateNewMessage()
        Default constructor.
      • UpdateNewMessage

        public UpdateNewMessage​(TdApi.Message message,
                                boolean disableNotification,
                                boolean containsMention)
        Constructor for initialization of all fields.
        Parameters:
        message - The new message.
        disableNotification - True, if this message must not generate a notification.
        containsMention - True, if the message contains a mention of the current user.