Class TdApi.SendChatScreenshotTakenNotification

  • Enclosing class:
    TdApi

    public static class TdApi.SendChatScreenshotTakenNotification
    extends TdApi.Function
    Sends a notification about a screenshot taken in a chat. Supported only in private and secret chats.

    Returns Ok

    • Field Detail

      • chatId

        public long chatId
        Chat identifier.
      • CONSTRUCTOR

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

      • SendChatScreenshotTakenNotification

        public SendChatScreenshotTakenNotification()
        Default constructor for a function, which sends a notification about a screenshot taken in a chat. Supported only in private and secret chats.

        Returns Ok

      • SendChatScreenshotTakenNotification

        public SendChatScreenshotTakenNotification​(long chatId)
        Creates a function, which sends a notification about a screenshot taken in a chat. Supported only in private and secret chats.

        Returns Ok

        Parameters:
        chatId - Chat identifier.