Class TdApi.ProcessChatJoinRequest

  • Enclosing class:
    TdApi

    public static class TdApi.ProcessChatJoinRequest
    extends TdApi.Function
    Handles a pending join request in a chat.

    Returns Ok

    • Field Detail

      • chatId

        public long chatId
        Chat identifier.
      • userId

        public long userId
        Identifier of the user that sent the request.
      • approve

        public boolean approve
        True, if the request is approved. Otherwise the request is declived.
      • CONSTRUCTOR

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

      • ProcessChatJoinRequest

        public ProcessChatJoinRequest()
        Default constructor for a function, which handles a pending join request in a chat.

        Returns Ok

      • ProcessChatJoinRequest

        public ProcessChatJoinRequest​(long chatId,
                                      long userId,
                                      boolean approve)
        Creates a function, which handles a pending join request in a chat.

        Returns Ok

        Parameters:
        chatId - Chat identifier.
        userId - Identifier of the user that sent the request.
        approve - True, if the request is approved. Otherwise the request is declived.