API v10InterfacesAPIPinChannelVersion: NextOn this pageAPIPinChannel <T>This interface is used to allow easy extension for other channel types. While also allowing APIPartialChannel to be used without breaking.HierarchyAPIChannelBase<T>APIPinChannelAPIGuildTextChannelAPIDMChannelBaseAPIThreadChannelIndex Propertiesflagsidlast_pin_timestamptypeProperties optionalinheritedflagsflags?: ChannelFlagsinheritedidid: stringThe id of the channeloptionallast_pin_timestamplast_pin_timestamp?: null | stringWhen the last pinned message was pinned. This may be null in events such as GUILD_CREATE when a message is not pinnedinheritedtypetype: TThe type of the channel@seehttps://discord.com/developers/docs/resources/channel#channel-object-channel-types
This interface is used to allow easy extension for other channel types. While also allowing
APIPartialChannel
to be used without breaking.