GetChat() 공개 메소드

Gets the chat.
public GetChat ( long chatId, ProfileFields fields = null, NameCase nameCase = null ) : Model.Chat
chatId long The chat identifier.
fields ProfileFields The fields.
nameCase NameCase The name case.
리턴 Model.Chat
예제 #1
0
 public void GetChat_AccessTokenInvalid_ThrowAccessTokenInvalidException()
 {
     var cat = new MessagesCategory(new VkApi());
     cat.GetChat(1);
 }
예제 #2
0
 public void GetChat_AccessTokenInvalid_ThrowAccessTokenInvalidException()
 {
     var cat = new MessagesCategory(new VkApi());
     This.Action(() => cat.GetChat(1)).Throws<AccessTokenInvalidException>();
 }
예제 #3
0
 public void GetChat_AccessTokenInvalid_ThrowAccessTokenInvalidException()
 {
     var cat = new MessagesCategory(new VkApi());
     Assert.That(() => cat.GetChat(1), Throws.InstanceOf<AccessTokenInvalidException>());
 }