Struct teloxide_core::payloads::UnhideGeneralForumTopic
source · pub struct UnhideGeneralForumTopic {
pub chat_id: Recipient,
}
Expand description
Use this method to unhide the ‘General’ topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success.
Fields§
§chat_id: Recipient
Unique identifier for the target chat or username of the target channel (in the format @channelusername
)
Implementations§
Trait Implementations§
source§impl Clone for UnhideGeneralForumTopic
impl Clone for UnhideGeneralForumTopic
source§impl Debug for UnhideGeneralForumTopic
impl Debug for UnhideGeneralForumTopic
source§impl Hash for UnhideGeneralForumTopic
impl Hash for UnhideGeneralForumTopic
source§impl PartialEq<UnhideGeneralForumTopic> for UnhideGeneralForumTopic
impl PartialEq<UnhideGeneralForumTopic> for UnhideGeneralForumTopic
source§fn eq(&self, other: &UnhideGeneralForumTopic) -> bool
fn eq(&self, other: &UnhideGeneralForumTopic) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Payload for UnhideGeneralForumTopic
impl Payload for UnhideGeneralForumTopic
source§fn timeout_hint(&self) -> Option<Duration>
fn timeout_hint(&self) -> Option<Duration>
If this payload may take long time to execute (e.g.
GetUpdates
with
big timeout
), the minimum timeout that should be used.source§impl Serialize for UnhideGeneralForumTopic
impl Serialize for UnhideGeneralForumTopic
impl Eq for UnhideGeneralForumTopic
impl StructuralEq for UnhideGeneralForumTopic
impl StructuralPartialEq for UnhideGeneralForumTopic
Auto Trait Implementations§
impl RefUnwindSafe for UnhideGeneralForumTopic
impl Send for UnhideGeneralForumTopic
impl Sync for UnhideGeneralForumTopic
impl Unpin for UnhideGeneralForumTopic
impl UnwindSafe for UnhideGeneralForumTopic
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.