Class TdApi.SaveApplicationLogEvent

  • Enclosing class:
    TdApi

    public static class TdApi.SaveApplicationLogEvent
    extends TdApi.Function
    Saves application log event on the server. Can be called before authorization.

    Returns Ok

    • Field Detail

      • type

        public String type
        Event type.
      • chatId

        public long chatId
        Optional chat identifier, associated with the event.
      • CONSTRUCTOR

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

      • SaveApplicationLogEvent

        public SaveApplicationLogEvent()
        Default constructor for a function, which saves application log event on the server. Can be called before authorization.

        Returns Ok

      • SaveApplicationLogEvent

        public SaveApplicationLogEvent​(String type,
                                       long chatId,
                                       TdApi.JsonValue data)
        Creates a function, which saves application log event on the server. Can be called before authorization.

        Returns Ok

        Parameters:
        type - Event type.
        chatId - Optional chat identifier, associated with the event.
        data - The log event data.