Beispiel #1
0
        public string Path(bool withParameter = true)
        {
            if (withParameter && webhookId != null)
            {
                return($"{parent.Path()}/webhooks/{webhookId}");
            }

            return($"{parent.Path()}/webhooks");
        }
Beispiel #2
0
        public string Path(bool withParameter = true)
        {
            if (withParameter && chatId != null)
            {
                return($"{parent.Path()}/chats/{chatId}");
            }

            return($"{parent.Path()}/chats");
        }
Beispiel #3
0
        public string Path(bool withParameter = true)
        {
            if (withParameter && taskId != null)
            {
                return($"{parent.Path()}/data-export/{taskId}");
            }

            return($"{parent.Path()}/data-export");
        }
Beispiel #4
0
        public string Path(bool withParameter = true)
        {
            if (withParameter && noteId != null)
            {
                return($"{parent.Path()}/notes/{noteId}");
            }

            return($"{parent.Path()}/notes");
        }
Beispiel #5
0
        public string Path(bool withParameter = true)
        {
            if (withParameter && groupId != null)
            {
                return($"{parent.Path()}/groups/{groupId}");
            }

            return($"{parent.Path()}/groups");
        }
Beispiel #6
0
        public string Path(bool withParameter = true)
        {
            if (withParameter && companyId != null)
            {
                return($"{parent.Path()}/companies/{companyId}");
            }

            return($"{parent.Path()}/companies");
        }
Beispiel #7
0
        public string Path(bool withParameter = true)
        {
            if (withParameter && personId != null)
            {
                return($"{parent.Path()}/persons/{personId}");
            }

            return($"{parent.Path()}/persons");
        }
Beispiel #8
0
 public string Path()
 {
     return($"{parent.Path()}/files");
 }
Beispiel #9
0
 public string Path()
 {
     return($"{parent.Path()}/posts");
 }
Beispiel #10
0
 public string Path()
 {
     return($"{parent.Path()}/recent");
 }
Beispiel #11
0
 public string Path()
 {
     return($"{parent.Path()}/preferences");
 }
Beispiel #12
0
 public string Path()
 {
     return($"{parent.Path()}/favorites");
 }
Beispiel #13
0
 public string Path()
 {
     return($"{parent.Path()}/everyone");
 }