ChannelExtensionsGetPhoto Method
Retrieves the value of
photo property
from the source
Channel object.
This method is designed to facilitate property retrieval from an object for VB.NET developers,
accommodating the non-VB.NET compliant member naming convention
used in the WTelegramClient API, originally written in C#.
Namespace: DevCase.ThirdParty.WTelegramClient.ExtensionsAssembly: DevCase.net48.ThirdParty.WTelegramClient (in DevCase.net48.ThirdParty.WTelegramClient.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static ChatPhoto GetPhoto(
this Channel channel
)
<ExtensionAttribute>
Public Shared Function GetPhoto (
channel As Channel
) As ChatPhoto
Dim channel As Channel
Dim returnValue As ChatPhoto
returnValue = channel.GetPhoto()
public:
[ExtensionAttribute]
static ChatPhoto^ GetPhoto(
Channel^ channel
)
[<ExtensionAttribute>]
static member GetPhoto :
channel : Channel -> ChatPhoto
No code example is currently available or this language may not be supported.
- channel Channel
-
The source channel from which the photo property value is to be retrieved.
ChatPhoto
The value of
photo property from the source
Channel object.
In Visual Basic and C#, you can call this method as an instance method on any object of type
Channel. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).