Пример #1
0
 public Statuses.Oembed.Result Oembed(String id, String url)
 {
     var cm = new Statuses.Oembed.Command();
     cm.id = id;
     cm.url = url;
     return this.Oembed(cm);
 }
Пример #2
0
 public Statuses.Oembed.Result Oembed(String id, String url, String maxwidth, Boolean? hide_media, Boolean? hide_thread, Boolean? omit_script, String align, String related, String lang, String widget_type, String hide_tweet)
 {
     var cm = new Statuses.Oembed.Command();
     cm.id = id;
     cm.url = url;
     cm.maxwidth = maxwidth;
     cm.hide_media = hide_media;
     cm.hide_thread = hide_thread;
     cm.omit_script = omit_script;
     cm.align = align;
     cm.related = related;
     cm.lang = lang;
     cm.widget_type = widget_type;
     cm.hide_tweet = hide_tweet;
     return this.Oembed(cm);
 }
Пример #3
0
 public Statuses.Oembed.Result[] Oembed(Statuses.Oembed.Command command)
 {
     return(_ApiEndpoints._Client.GetResult <Statuses.Oembed.Command, Statuses.Oembed.Result[]>(command));
 }