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

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

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

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

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

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

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

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